=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/rdist/Attic/filesys.h,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- src/usr.bin/rdist/Attic/filesys.h 2014/07/05 07:58:41 1.3 +++ src/usr.bin/rdist/Attic/filesys.h 2014/07/05 10:21:24 1.4 @@ -1,4 +1,4 @@ -/* $OpenBSD: filesys.h,v 1.3 2014/07/05 07:58:41 guenther Exp $ */ +/* $OpenBSD: filesys.h,v 1.4 2014/07/05 10:21:24 guenther Exp $ */ /* * Copyright (c) 1983 Regents of the University of California. @@ -42,54 +42,6 @@ */ /* - * Mount information - */ -#if FSI_TYPE == FSI_GETMNT -# include -# include -# include -# define MOUNTED_FILE "" -#endif - -#if FSI_TYPE == FSI_GETFSSTAT -# include -# include -# define MOUNTED_FILE "" -#endif - -#if FSI_TYPE == FSI_MNTCTL -# include -# define MOUNTED_FILE "" -#endif - -#if FSI_TYPE == FSI_GETMNTENT -# include -# define MOUNTED_FILE MOUNTED -#endif - -#if FSI_TYPE == FSI_GETMNTENT2 -#if defined(MNTTAB_H) -# include MNTTAB_H -#endif /* MNTTAB_H */ -#if defined(MNTENT_H) -# include MNTENT_H -#endif /* MNTENT_H */ -# define MOUNTED_FILE MNTTAB -#endif /* FSI_GETMNTENT2 */ - -#if !defined(MOUNTED_FILE) && defined(MNT_MNTTAB) /* HPUX */ -# define MOUNTED_FILE MNT_MNTTAB -#endif /* MNT_MNTTAB */ - -/* - * NCR OS defines bcopy and bzero - */ -#if defined(NCR) -#undef bcopy -#undef bzero -#endif /* NCR */ - -/* * Mount Entry definetions */ #ifndef METYPE_OTHER @@ -127,9 +79,9 @@ /* * Declarations */ -FILE *setmountent(const char *, const char *); -mntent_t *getmountent(FILE *); +int setmountent(void); +mntent_t *getmountent(void); mntent_t *newmountent(const mntent_t *); -void endmountent(FILE *); +void endmountent(void); #endif /* __filesys_h__ */