changeset 12582:21afac8020be

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.
author Jim Meyering <meyering@redhat.com>
date Wed, 06 Jan 2010 08:38:14 +0100
parents 25232b487199
children 462199e08415
files ChangeLog lib/readtokens.c modules/readtokens
diffstat 3 files changed, 11 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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
--- a/lib/readtokens.c
+++ b/lib/readtokens.c
@@ -31,6 +31,8 @@
 #include <string.h>
 #include <stdbool.h>
 
+#include "xalloc.h"
+
 #if USE_UNLOCKED_IO
 # include "unlocked-io.h"
 #endif
--- a/modules/readtokens
+++ b/modules/readtokens
@@ -7,6 +7,7 @@
 m4/readtokens.m4
 
 Depends-on:
+xalloc
 stdbool
 
 configure.ac: