Parcourir la source

A couple of little cleanups I forgot to check in.

Manuel Novoa III il y a 22 ans
Parent
commit
9e3364a9e6
2 fichiers modifiés avec 1 ajouts et 3 suppressions
  1. 1 1
      libc/misc/time/Makefile
  2. 0 2
      libc/stdio/stdio.c

+ 1 - 1
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

+ 0 - 2
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