readtokens: this module *does* require xalloc.h
authorJim Meyering <meyering@redhat.com>
Wed, 6 Jan 2010 07:38:14 +0000 (08:38 +0100)
committerJim Meyering <meyering@redhat.com>
Wed, 6 Jan 2010 07:38:14 +0000 (08:38 +0100)
It uses only functions that were omitted by the old syntax-check rule.
* lib/readtokens.c: Include "xalloc.h" once again.
* modules/readtokens (Depends-on): Add xalloc.
This reverts part of 0e0f8f12ec241c0f1c1f21f960bb5cf908a0fa3c.

ChangeLog
lib/readtokens.c
modules/readtokens

index 80f3988..ae5e1a0 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2010-01-06  Jim Meyering  <meyering@redhat.com>
+
+       readtokens: this module *does* require xalloc.h
+       It uses only functions that were omitted by the old syntax-check rule.
+       * lib/readtokens.c: Include "xalloc.h" once again.
+       * modules/readtokens (Depends-on): Add xalloc.
+       This reverts part of 0e0f8f12ec241c0f1c1f21f960bb5cf908a0fa3c.
+
 2010-01-05  Eric Blake  <ebb9@byu.net>
 
        maint: support 'make announcement' from a VPATH build
index 8172eb1..e29f20e 100644 (file)
@@ -31,6 +31,8 @@
 #include <string.h>
 #include <stdbool.h>
 
+#include "xalloc.h"
+
 #if USE_UNLOCKED_IO
 # include "unlocked-io.h"
 #endif
index d593b8f..9453de9 100644 (file)
@@ -7,6 +7,7 @@ lib/readtokens.c
 m4/readtokens.m4
 
 Depends-on:
+xalloc
 stdbool
 
 configure.ac: