summaryrefslogtreecommitdiff
path: root/libc
diff options
context:
space:
mode:
authorManuel Novoa III <mjn3@codepoet.org>2002-08-03 18:49:09 +0000
committerManuel Novoa III <mjn3@codepoet.org>2002-08-03 18:49:09 +0000
commit9e3364a9e684f57b1bb15bdadbe49b31e42154b8 (patch)
tree5f226c270ccb0a05a4b36b2d1bef26c0b9d01ab4 /libc
parentd4db0bd93900e4515a151ff6037b3fc0e1b22140 (diff)
A couple of little cleanups I forgot to check in.
Diffstat (limited to 'libc')
-rw-r--r--libc/misc/time/Makefile2
-rw-r--r--libc/stdio/stdio.c2
2 files changed, 1 insertions, 3 deletions
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