Author: wmb Date: 2008-08-29 00:42:50 +0200 (Fri, 29 Aug 2008) New Revision: 899
Modified: clients/emacs/x86/Makefile clients/lib/malloc.h clients/lib/printf.c Log: Cleaned up some compiler warnings in the client library.
Modified: clients/emacs/x86/Makefile =================================================================== --- clients/emacs/x86/Makefile 2008-08-28 22:33:35 UTC (rev 898) +++ clients/emacs/x86/Makefile 2008-08-28 22:42:50 UTC (rev 899) @@ -27,9 +27,9 @@
emacs: $(LIBDIR)/start.o $(OFILES) $(LIBS) Makefile $(LD) $(LFLAGS) -o $@ $(LIBDIR)/start.o $(OFILES) $(LIBS) - size $@ - nm -n $@ >emacs.nm - strip $@ + @# size $@ + @# nm -n $@ >emacs.nm + @strip $@
$(LIBDIR)/start.o: $(LIBDIR)/start.s (cd $(LIBDIR); make start.o)
Modified: clients/lib/malloc.h =================================================================== --- clients/lib/malloc.h 2008-08-28 22:33:35 UTC (rev 898) +++ clients/lib/malloc.h 2008-08-28 22:42:50 UTC (rev 899) @@ -66,7 +66,7 @@
#ifndef CURBRK #define CURBRK sbrk(0) -#endif CURBRK +#endif
extern void insque(), remque(); extern char *malloc(), *realloc();
Modified: clients/lib/printf.c =================================================================== --- clients/lib/printf.c 2008-08-28 22:33:35 UTC (rev 898) +++ clients/lib/printf.c 2008-08-28 22:42:50 UTC (rev 899) @@ -99,7 +99,7 @@ n += printbase(x, 10); break; case 'c': - c = va_arg(args, char); + c = va_arg(args, int); putchar(c); n++; break;
openfirmware@openfirmware.info