summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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