diff options
author | neal <neal> | 2008-01-23 23:12:39 +0000 |
---|---|---|
committer | neal <neal> | 2008-01-23 23:12:39 +0000 |
commit | 53119ad6d5042194c4653bc718799a8bc653a7da (patch) | |
tree | 352fb1b5551144f58619140a674a9bffcc8e39a8 /libhurd-btree | |
parent | b962fefe8733a2fd7911090b3e8565eff3469048 (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-btree')
-rw-r--r-- | libhurd-btree/ChangeLog | 8 | ||||
-rw-r--r-- | libhurd-btree/Makefile.am | 5 | ||||
-rw-r--r-- | libhurd-btree/btree.c | 1 |
3 files changed, 12 insertions, 2 deletions
diff --git a/libhurd-btree/ChangeLog b/libhurd-btree/ChangeLog index 377112f..9d3409d 100644 --- a/libhurd-btree/ChangeLog +++ b/libhurd-btree/ChangeLog @@ -1,3 +1,11 @@ +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>. + 2007-12-17 Neal H. Walfield <neal@gnu.org> * btree.h (BTREE_(check_tree_internal)): Take additional diff --git a/libhurd-btree/Makefile.am b/libhurd-btree/Makefile.am index 955aa38..db49a8a 100644 --- a/libhurd-btree/Makefile.am +++ b/libhurd-btree/Makefile.am @@ -30,5 +30,6 @@ libhurd_btree_a_SOURCES = btree.h btree.c TESTS = btree-test check_PROGRAMS = btree-test -btree_test_SOURCES = btree-test.c btree.h -btree_test_LDADD = libhurd-btree.a +btree_test_SOURCES = btree-test.c btree.h btree.c +btree_test_CPPFLAGS = -DS_PRINTF=printf $(AM_CPPFLAGS) + diff --git a/libhurd-btree/btree.c b/libhurd-btree/btree.c index a2ec3bb..ab4152d 100644 --- a/libhurd-btree/btree.c +++ b/libhurd-btree/btree.c @@ -152,6 +152,7 @@ typedef BTREE_(node_t) *node; /* Routines to check tree invariants. */ +#include <stdio.h> #include <assert.h> #define CHECK_TREE(a) check_tree(a) |