# HG changeset patch # User Jim Meyering # Date 1295806072 -3600 # Node ID 821f1ac49d4a7165d283178675d47ee1cf45e9ec # Parent 676f66180a36081b903d9a4134fcfcec0c39cb67 xreadlink.h: remove unnecessary #include * lib/xreadlink.h: Don't include . It was not used. diff --git a/ChangeLog b/ChangeLog --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2011-01-23 Jim Meyering + xreadlink.h: remove unnecessary #include + * lib/xreadlink.h: Don't include . It was not used. + maint.mk: add syntax-check rule: detect unnecessary #include * top/maint.mk (sc_prohibit_stddef_without_use): New rule. diff --git a/lib/xreadlink.h b/lib/xreadlink.h --- a/lib/xreadlink.h +++ b/lib/xreadlink.h @@ -18,8 +18,6 @@ /* Written by Jim Meyering */ -#include - extern char *xreadlink (char const *filename); #if GNULIB_XREADLINKAT