]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
maint: remove sc_prohibit_NULL syntax check
authorPádraig Brady <P@draigBrady.com>
Sat, 17 Jan 2026 12:45:42 +0000 (12:45 +0000)
committerPádraig Brady <P@draigBrady.com>
Sat, 17 Jan 2026 12:45:42 +0000 (12:45 +0000)
* cfg.mk: NULL is fine and good in C as per:
https://bugs.gnu.org/66221#53

cfg.mk

diff --git a/cfg.mk b/cfg.mk
index 67aa47fd3581fa0c709e5d69079064d372e5f7e9..7d8b5013d795fd71edc072bdf8b00138592ef027 100644 (file)
--- a/cfg.mk
+++ b/cfg.mk
@@ -526,12 +526,6 @@ sc_prohibit_exit_write_error:
        halt='Use write_error() instead' \
          $(_sc_search_regexp)
 
-sc_prohibit_NULL:
-       @prohibit='$(begword)NULL$(endword)'                            \
-       in_vc_files='\.[ch]$$'                                          \
-       halt='use nullptr instead'                                      \
-         $(_sc_search_regexp)
-
 sc_prohibit_bare_set:
        @prohibit='^ *set [`$$]'                                        \
        in_vc_files='\.sh$$'                                            \