summaryrefslogtreecommitdiff
path: root/Makefile.maint
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2005-09-27 09:40:39 +0000
committerJim Meyering <jim@meyering.net>2005-09-27 09:40:39 +0000
commitf1f4e1ada3c827d419d2388265b9303f8965a656 (patch)
tree694285471bd340db846b4fd50163a1a913d35949 /Makefile.maint
parentb2d23513308d90c8f02f7769075992333029378d (diff)
downloadcoreutils-f1f4e1ada3c827d419d2388265b9303f8965a656.tar.xz
add a FIXME comment
Diffstat (limited to 'Makefile.maint')
-rw-r--r--Makefile.maint6
1 files changed, 6 insertions, 0 deletions
diff --git a/Makefile.maint b/Makefile.maint
index d67ce7931..7c3e88f93 100644
--- a/Makefile.maint
+++ b/Makefile.maint
@@ -99,6 +99,12 @@ syntax-check: $(syntax-check-rules)
# exit 1; } || :
# FIXME: don't allow `#include .strings\.h' anywhere
+# FIXME: add a check for this.
+# Nearly every lib/*.c file must include config.h, like this:
+# #ifdef HAVE_CONFIG_H
+# # include <config.h>
+# #endif
+
sc_cast_of_argument_to_free:
@grep -E '\<free \(\(' $(srcdir)/{lib,src}/*.[chly] && \
{ echo '$(ME): don'\''t cast free argument' 1>&2; \