[BACK]Return to fstab.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / lib / libc / gen

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/lib/libc/gen/fstab.c between version 1.7 and 1.8.2.1

version 1.7, 1995/02/27 04:34:44 version 1.8.2.1, 1996/09/19 20:02:35
Line 41  static char rcsid[] = "$NetBSD$";
Line 41  static char rcsid[] = "$NetBSD$";
 #endif  #endif
 #endif /* LIBC_SCCS and not lint */  #endif /* LIBC_SCCS and not lint */
   
   #include "namespace.h"
 #include <sys/types.h>  #include <sys/types.h>
 #include <sys/uio.h>  #include <sys/uio.h>
 #include <errno.h>  #include <errno.h>
Line 50  static char rcsid[] = "$NetBSD$";
Line 51  static char rcsid[] = "$NetBSD$";
 #include <string.h>  #include <string.h>
 #include <unistd.h>  #include <unistd.h>
   
   #ifdef __weak_alias
   __weak_alias(endfsent,_endfsent);
   __weak_alias(getfsent,_getfsent);
   __weak_alias(getfsfile,_getfsfile);
   __weak_alias(getfsspec,_getfsspec);
   __weak_alias(setfsent,_setfsent);
   #endif
   
 static FILE *_fs_fp;  static FILE *_fs_fp;
 static struct fstab _fs_fstab;  static struct fstab _fs_fstab;
   
 static error __P((int));  static void error __P((int));
 static fstabscan __P((void));  static int fstabscan __P((void));
   
 static  static int
 fstabscan()  fstabscan()
 {  {
         register char *cp;          register char *cp;
Line 176  getfsfile(name)
Line 185  getfsfile(name)
         return((struct fstab *)NULL);          return((struct fstab *)NULL);
 }  }
   
   int
 setfsent()  setfsent()
 {  {
         if (_fs_fp) {          if (_fs_fp) {
Line 197  endfsent()
Line 207  endfsent()
         }          }
 }  }
   
 static  static void
 error(err)  error(err)
         int err;          int err;
 {  {

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.8.2.1

CVSweb <webmaster@jp.NetBSD.org>