diff --git a/lang/cem/lint/llib/proto.make b/lang/cem/lint/llib/proto.make index 930cac946..a2a9c34e1 100644 --- a/lang/cem/lint/llib/proto.make +++ b/lang/cem/lint/llib/proto.make @@ -50,7 +50,7 @@ c.llb: $(SRC_DIR)/unix7.c ansi_c.llb: $(SRC_DIR)/unix7.c cp $(SRC_DIR)/ansi_c.llb ansi_c.llb chmod +w ansi_c.llb - $(LINT) -ansi -Lansi_c.llb -o $(SRC_DIR)/unix7.c + $(LINT) -ansi -Lansi_c.llb $(SRC_DIR)/unix7.c curses.llb: $(LINT) -Lcurses.llb $(CURSESDIR)/*.c diff --git a/lang/cem/lint/llib/unix7.c b/lang/cem/lint/llib/unix7.c index cecfb3df4..d475c8489 100644 --- a/lang/cem/lint/llib/unix7.c +++ b/lang/cem/lint/llib/unix7.c @@ -88,20 +88,20 @@ int abort() {/*NOTREACHED*/ } %c = int %s = char * $ */ #ifdef __STDC__ -int printf(const char *_format, ...); +int printf(const char *_format, ...) { return(0); } #else printf(fmt) char *fmt; { ; } #endif /* FORMAT1 */ #ifdef __STDC__ -int fprintf(FILE *_stream, const char *_format, ...); +int fprintf(FILE *_stream, const char *_format, ...) { return(0); } #else fprintf(fp, fmt) FILE *fp; char *fmt; { ; } #endif /* FORMAT1 */ #ifdef __STDC__ -int sprintf(char *_s, const char *_format, ...); +int sprintf(char *_s, const char *_format, ...) { return(0); } #else sprintf(s, fmt) char *s; char *fmt; { ; } #endif @@ -114,19 +114,19 @@ sprintf(s, fmt) char *s; char *fmt; { ; } %c = char * %s = char * %[[] = char * $ */ #ifdef __STDC__ -int scanf(const char *_format, ...); +int scanf(const char *_format, ...) { return(0); } #else int scanf(fmt) char *fmt; { return(0); } #endif /* FORMAT1 */ #ifdef __STDC__ -int fscanf(FILE *_stream, const char *_format, ...); +int fscanf(FILE *_stream, const char *_format, ...) { return(0); } #else int fscanf(fp, fmt) FILE *fp; char *fmt; { return(0); } #endif /* FORMAT1 */ #ifdef __STDC__ -int sscanf(const char *_s, const char *_format, ...); +int sscanf(const char *_s, const char *_format, ...) { return(0); } #else int sscanf(s, fmt) char *s; char *fmt; { return(0); } #endif