]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
Include <stddef.h>.
authorJim Meyering <jim@meyering.net>
Fri, 6 Jun 2003 20:17:37 +0000 (20:17 +0000)
committerJim Meyering <jim@meyering.net>
Fri, 6 Jun 2003 20:17:37 +0000 (20:17 +0000)
(NULL): Don't define, since <stddef.h> does that.

lib/modechange.c

index a102b6956f6bbdf362a1e292b988ec5b61dc3822..8cec11d41fc404cc847f1cd97f94aa87beaaedf0 100644 (file)
@@ -1,5 +1,7 @@
 /* modechange.c -- file mode manipulation
-   Copyright (C) 1989, 1990, 1997, 1998, 1999, 2001 Free Software Foundation, Inc.
+
+   Copyright (C) 1989, 1990, 1997, 1998, 1999, 2001, 2003 Free Software
+   Foundation, Inc.
 
    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
@@ -31,6 +33,7 @@
 #include "modechange.h"
 #include <sys/stat.h>
 #include "xstrtol.h"
+#include <stddef.h>
 
 #if STDC_HEADERS
 # include <stdlib.h>
 char *malloc ();
 #endif
 
-#ifndef NULL
-# define NULL 0
-#endif
-
 #if STAT_MACROS_BROKEN
 # undef S_ISDIR
 #endif