changeset 14217:821f1ac49d4a

xreadlink.h: remove unnecessary #include * lib/xreadlink.h: Don't include <stddef.h>. It was not used.
author Jim Meyering <meyering@redhat.com>
date Sun, 23 Jan 2011 19:07:52 +0100
parents 676f66180a36
children 5c7bf99f5907
files ChangeLog lib/xreadlink.h
diffstat 2 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2011-01-23  Jim Meyering  <meyering@redhat.com>
 
+	xreadlink.h: remove unnecessary #include
+	* lib/xreadlink.h: Don't include <stddef.h>.  It was not used.
+
 	maint.mk: add syntax-check rule: detect unnecessary #include <stddef.h>
 	* top/maint.mk (sc_prohibit_stddef_without_use): New rule.
 
--- a/lib/xreadlink.h
+++ b/lib/xreadlink.h
@@ -18,8 +18,6 @@
 
 /* Written by Jim Meyering <jim@meyering.net>  */
 
-#include <stddef.h>
-
 extern char *xreadlink (char const *filename);
 
 #if GNULIB_XREADLINKAT