[BACK]Return to filesys.h CVS log [TXT][DIR] Up to [local] / src / usr.bin / rdist

Diff for /src/usr.bin/rdist/Attic/filesys.h between version 1.3 and 1.4

version 1.3, 2014/07/05 07:58:41 version 1.4, 2014/07/05 10:21:24
Line 42 
Line 42 
  */   */
   
 /*  /*
  * Mount information  
  */  
 #if FSI_TYPE == FSI_GETMNT  
 #       include <sys/types.h>  
 #       include <sys/param.h>  
 #       include <sys/mount.h>  
 #       define MOUNTED_FILE             "<none>"  
 #endif  
   
 #if FSI_TYPE == FSI_GETFSSTAT  
 #       include <sys/types.h>  
 #       include <sys/mount.h>  
 #       define MOUNTED_FILE             "<none>"  
 #endif  
   
 #if FSI_TYPE == FSI_MNTCTL  
 #       include <sys/mntctl.h>  
 #       define MOUNTED_FILE             "<none>"  
 #endif  
   
 #if FSI_TYPE == FSI_GETMNTENT  
 #       include <mntent.h>  
 #       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   * Mount Entry definetions
  */   */
 #ifndef METYPE_OTHER  #ifndef METYPE_OTHER
Line 127 
Line 79 
 /*  /*
  * Declarations   * Declarations
  */   */
 FILE           *setmountent(const char *, const char *);  int             setmountent(void);
 mntent_t       *getmountent(FILE *);  mntent_t       *getmountent(void);
 mntent_t       *newmountent(const mntent_t *);  mntent_t       *newmountent(const mntent_t *);
 void            endmountent(FILE *);  void            endmountent(void);
   
 #endif  /* __filesys_h__ */  #endif  /* __filesys_h__ */

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4