summaryrefslogtreecommitdiff
path: root/lib/savedir.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2003-06-06 22:17:57 +0000
committerJim Meyering <jim@meyering.net>2003-06-06 22:17:57 +0000
commit51fd72e0ea9a7bacad7c4a7b9b9ba65b75bd6b0e (patch)
tree20896b9fb3e29532250f20f73a46984c902bbc8d /lib/savedir.c
parent501a8e54b909486c6180297a04d1d0543337e7da (diff)
downloadcoreutils-51fd72e0ea9a7bacad7c4a7b9b9ba65b75bd6b0e.tar.xz
Include <stddef.h>.
(NULL): Don't define, since <stddef.h> does that.
Diffstat (limited to 'lib/savedir.c')
-rw-r--r--lib/savedir.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/savedir.c b/lib/savedir.c
index 112f5c045..a1f8a6cd7 100644
--- a/lib/savedir.c
+++ b/lib/savedir.c
@@ -1,6 +1,6 @@
/* savedir.c -- save the list of files in a directory in a string
- Copyright 1990, 1997, 1998, 1999, 2000, 2001 Free Software
+ Copyright 1990, 1997, 1998, 1999, 2000, 2001, 2003 Free Software
Foundation, Inc.
This program is free software; you can redistribute it and/or modify
@@ -56,9 +56,7 @@ extern int errno;
# include <stdlib.h>
# include <string.h>
#endif
-#ifndef NULL
-# define NULL 0
-#endif
+#include <stddef.h>
#include "savedir.h"
#include "xalloc.h"