From 9e3364a9e684f57b1bb15bdadbe49b31e42154b8 Mon Sep 17 00:00:00 2001 From: Manuel Novoa III Date: Sat, 3 Aug 2002 18:49:09 +0000 Subject: A couple of little cleanups I forgot to check in. --- libc/misc/time/Makefile | 2 +- libc/stdio/stdio.c | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) (limited to 'libc') diff --git a/libc/misc/time/Makefile b/libc/misc/time/Makefile index 425e2713d..841c19600 100644 --- a/libc/misc/time/Makefile +++ b/libc/misc/time/Makefile @@ -46,7 +46,7 @@ ar-target: $(OBJS) $(AR) $(ARFLAGS) $(LIBC) $(OBJS) $(MOBJ): $(MSRC) - $(CC) $(CFLAGS) -DTARGET_ARCH=$(TARGET_ARCH) -DL_$* $< -c -o $*.o + $(CC) $(CFLAGS) -DL_$* $< -c -o $*.o $(STRIPTOOL) -x -R .note -R .comment $*.o $(COBJS): %.o : %.c diff --git a/libc/stdio/stdio.c b/libc/stdio/stdio.c index 1bce679f9..cf6450995 100644 --- a/libc/stdio/stdio.c +++ b/libc/stdio/stdio.c @@ -3196,8 +3196,6 @@ UNLOCKED(int,ferror,(FILE *stream),(stream)) /**********************************************************************/ #ifdef L_perror -/* TODO -- not allowed to interfere with static storage of strerror(). */ - void perror(register const char *s) { /* If the program is calling perror, it's a safe bet that printf and -- cgit v1.2.3