summaryrefslogtreecommitdiffstats
path: root/libc/misc/assert
diff options
context:
space:
mode:
Diffstat (limited to 'libc/misc/assert')
-rw-r--r--libc/misc/assert/Makefile.in3
-rw-r--r--libc/misc/assert/__assert.c2
2 files changed, 2 insertions, 3 deletions
diff --git a/libc/misc/assert/Makefile.in b/libc/misc/assert/Makefile.in
index 20f9c2115..3bc3ab556 100644
--- a/libc/misc/assert/Makefile.in
+++ b/libc/misc/assert/Makefile.in
@@ -1,6 +1,5 @@
# Makefile for uClibc
#
-# Copyright (C) 2000 by Lineo, inc.
# Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>
#
# Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
@@ -15,6 +14,8 @@ MISC_ASSERT_SRC := $(MISC_ASSERT_DIR)/__assert.c
MISC_ASSERT_OBJ := $(MISC_ASSERT_OUT)/__assert.o
libc-y += $(MISC_ASSERT_OBJ)
+libc-a-y += $(MISC_ASSERT_OBJ)
+libc-so-y += $(MISC_ASSERT_OBJ:.o=.os)
objclean-y += misc_assert_objclean
diff --git a/libc/misc/assert/__assert.c b/libc/misc/assert/__assert.c
index 4282812a5..bd3b3a91d 100644
--- a/libc/misc/assert/__assert.c
+++ b/libc/misc/assert/__assert.c
@@ -27,7 +27,6 @@
* and is useful in debugging the stdio code.
*/
-#define _ISOC99_SOURCE
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
@@ -35,7 +34,6 @@
libc_hidden_proto(fprintf)
libc_hidden_proto(abort)
-libc_hidden_proto(stderr)
/* Get the prototype from assert.h as a double-check. */
#undef NDEBUG