BSD 4_3_Tahoe release
[unix-history] / usr / src / usr.bin / lint / llib-port
index 0c91c3f..8557439 100644 (file)
@@ -1,6 +1,6 @@
        /* LINTLIBRARY */
 /*
        /* LINTLIBRARY */
 /*
- *     @(#)llib-port   1.2     (Berkeley)      4/8/85
+ *     @(#)llib-port   1.5     (Berkeley)      10/22/87
  */
 #include <stdio.h>
        exit(s) {;}
  */
 #include <stdio.h>
        exit(s) {;}
@@ -38,10 +38,14 @@ int fwrite( p, s, n, f ) char *p; FILE *f; {return(0);}
        scanf( f ) char *f; {return(1); }
        setbuf( f, b ) FILE *f; char *b; {;}
        /* VARARGS */
        scanf( f ) char *f; {return(1); }
        setbuf( f, b ) FILE *f; char *b; {;}
        /* VARARGS */
-char   *sprintf( s, f ) char *s, *f; { return(s);}
+int    sprintf( s, f ) char *s, *f; { return(s);}
        /* VARARGS */
        sscanf( s, f ) char *s, *f; { return(1); }
        ungetc( c, f ) FILE *f; {  return(c); }
        wdleng(){return(0); }
        /* VARARGS */
        sscanf( s, f ) char *s, *f; { return(1); }
        ungetc( c, f ) FILE *f; {  return(c); }
        wdleng(){return(0); }
-extern struct _iobuf _iob[];
+struct _iobuf _iob[1];
 char   _ctype_[129];
 char   _ctype_[129];
+double atof(s) char *s; { return(1.); }
+double frexp( v, e) double v; int *e; { return v; }
+double ldexp( v, e) double v; { return v; }
+double modf( v, p ) double v, *p; { return v; }