summaryrefslogtreecommitdiff
path: root/libhurd-ihash
diff options
context:
space:
mode:
authorneal <neal>2008-01-23 23:12:39 +0000
committerneal <neal>2008-01-23 23:12:39 +0000
commit53119ad6d5042194c4653bc718799a8bc653a7da (patch)
tree352fb1b5551144f58619140a674a9bffcc8e39a8 /libhurd-ihash
parentb962fefe8733a2fd7911090b3e8565eff3469048 (diff)
hurd/
2008-01-23 Neal H. Walfield <neal@gnu.org> * stddef.h (S_PRINTF): New macro. (debug): Use S_PRINTF rather than printf. * Makefile.am (t_addr_CPPFLAGS): Add -DS_PRINTF=printf. (t_addr_trans_CPPFLAGS): Likewise. (t_rpc_CPPFLAGS): Likewise. libc-parts/ 2008-01-24 Neal H. Walfield <neal@gnu.org> * assert.h: Include <hurd/stddef.h>. (assertx): Use S_PRINTF rather than printf. libhurd-btree/ 2008-01-24 Neal H. Walfield <neal@gnu.org> * Makefile.am (btree_test_CPPFLAGS): New variable. (btree_test_LDADD): Remove. (btree_test_SOURCES): Add btree.c. * btree.c (node_t): Include <stdio.h>. libhurd-ihash/ 2008-01-24 Neal H. Walfield <neal@gnu.org> * Makefile.am (t_ihash_SOURCES): Add ihash.c. (t_ihash_CPPFLAGS): New variable. * t-ihash.c: Include <stdio.h>. libhurd-mm/ 2008-01-24 Neal H. Walfield <neal@gnu.org> * as.c (as_alloced_dump): Use s_printf rather than printf. (as_walk): Likewise. laden/ 2008-01-23 Neal H. Walfield <neal@gnu.org> * Makefile.am (laden_CPPFLAGS): Add -DS_PRINTF=printf. ruth/ 2008-01-24 Neal H. Walfield <neal@gnu.org> * output.h (putchar): Rename from this... (s_putchar): ... to this. (puts): Rename from this... (s_puts): ... to this. (vprintf): Rename from this... (s_vprintf): ... to this. (printf): Rename from this... (s_printf): ... to this. * output.c (putchar): Rename from this... (s_putchar): ... to this. Update users. (puts): Rename from this... (s_puts): ... to this. Update users. (vprintf): Rename from this... (s_vprintf): ... to this. Update users. (printf): Rename from this... (s_printf): ... to this. * Makefile.am (ruth_SOURCES): Add object.h and object.c. * ia32-cmain.c: Include <stddef.h>. (cmain): Use s_printf rather than printf. * panic.c (panic_): Use s_printf and s_vprintf rather than printf and vprintf.
Diffstat (limited to 'libhurd-ihash')
-rw-r--r--libhurd-ihash/ChangeLog6
-rw-r--r--libhurd-ihash/Makefile.am4
-rw-r--r--libhurd-ihash/t-ihash.c4
3 files changed, 11 insertions, 3 deletions
diff --git a/libhurd-ihash/ChangeLog b/libhurd-ihash/ChangeLog
index 3a80edf..ec148f1 100644
--- a/libhurd-ihash/ChangeLog
+++ b/libhurd-ihash/ChangeLog
@@ -1,3 +1,9 @@
+2008-01-24 Neal H. Walfield <neal@gnu.org>
+
+ * Makefile.am (t_ihash_SOURCES): Add ihash.c.
+ (t_ihash_CPPFLAGS): New variable.
+ * t-ihash.c: Include <stdio.h>.
+
2008-01-23 Neal H. Walfield <neal@gnu.org>
* ihash.h (hurd_ihash_buffer_size): New declaration.
diff --git a/libhurd-ihash/Makefile.am b/libhurd-ihash/Makefile.am
index 60c09aa..d7a3913 100644
--- a/libhurd-ihash/Makefile.am
+++ b/libhurd-ihash/Makefile.am
@@ -38,5 +38,5 @@ libhurd_ihash_nomalloc_a_SOURCES = ihash.h ihash.c
TESTS = t-ihash
check_PROGRAMS = t-ihash
-t_ihash_SOURCES = t-ihash.c ihash.h
-t_ihash_LDADD = libhurd-ihash.a
+t_ihash_SOURCES = t-ihash.c ihash.h ihash.c
+t_ihash_CPPFLAGS = -DS_PRINTF=printf $(AM_CPPFLAGS)
diff --git a/libhurd-ihash/t-ihash.c b/libhurd-ihash/t-ihash.c
index 316e4d5..56cb32e 100644
--- a/libhurd-ihash/t-ihash.c
+++ b/libhurd-ihash/t-ihash.c
@@ -20,7 +20,9 @@
#define _GNU_SOURCE
-extern const char program_name[] = "t-ihash";
+#include <stdio.h>
+
+const char program_name[] = "t-ihash";
#if HAVE_CONFIG_H
#include <config.h>