summaryrefslogtreecommitdiffstats
path: root/sbin/fsck_msdosfs/ext.h
diff options
context:
space:
mode:
Diffstat (limited to 'sbin/fsck_msdosfs/ext.h')
-rw-r--r--sbin/fsck_msdosfs/ext.h32
1 files changed, 16 insertions, 16 deletions
diff --git a/sbin/fsck_msdosfs/ext.h b/sbin/fsck_msdosfs/ext.h
index effb546..fab080f 100644
--- a/sbin/fsck_msdosfs/ext.h
+++ b/sbin/fsck_msdosfs/ext.h
@@ -56,12 +56,12 @@ extern struct dosDirEntry *rootDir;
/*
* function declarations
*/
-int ask __P((int, const char *, ...)) __attribute__((__format__(__printf__,2,3)));
+int ask(int, const char *, ...) __attribute__((__format__(__printf__,2,3)));
/*
* Check filesystem given as arg
*/
-int checkfilesys __P((const char *));
+int checkfilesys(const char *);
/*
* Return values of various functions
@@ -79,41 +79,41 @@ int checkfilesys __P((const char *));
* read a boot block in a machine independend fashion and translate
* it into our struct bootblock.
*/
-int readboot __P((int, struct bootblock *));
+int readboot(int, struct bootblock *);
/*
* Correct the FSInfo block.
*/
-int writefsinfo __P((int, struct bootblock *));
+int writefsinfo(int, struct bootblock *);
/*
* Read one of the FAT copies and return a pointer to the new
* allocated array holding our description of it.
*/
-int readfat __P((int, struct bootblock *, int, struct fatEntry **));
+int readfat(int, struct bootblock *, int, struct fatEntry **);
/*
* Check two FAT copies for consistency and merge changes into the
* first if neccessary.
*/
-int comparefat __P((struct bootblock *, struct fatEntry *, struct fatEntry *, int));
+int comparefat(struct bootblock *, struct fatEntry *, struct fatEntry *, int);
/*
* Check a FAT
*/
-int checkfat __P((struct bootblock *, struct fatEntry *));
+int checkfat(struct bootblock *, struct fatEntry *);
/*
* Write back FAT entries
*/
-int writefat __P((int, struct bootblock *, struct fatEntry *, int));
+int writefat(int, struct bootblock *, struct fatEntry *, int);
/*
* Read a directory
*/
-int resetDosDirSection __P((struct bootblock *, struct fatEntry *));
-void finishDosDirSection __P((void));
-int handleDirTree __P((int, struct bootblock *, struct fatEntry *));
+int resetDosDirSection(struct bootblock *, struct fatEntry *);
+void finishDosDirSection(void);
+int handleDirTree(int, struct bootblock *, struct fatEntry *);
/*
* Cross-check routines run after everything is completely in memory
@@ -121,12 +121,12 @@ int handleDirTree __P((int, struct bootblock *, struct fatEntry *));
/*
* Check for lost cluster chains
*/
-int checklost __P((int, struct bootblock *, struct fatEntry *));
+int checklost(int, struct bootblock *, struct fatEntry *);
/*
* Try to reconnect a lost cluster chain
*/
-int reconnect __P((int, struct bootblock *, struct fatEntry *, cl_t));
-void finishlf __P((void));
+int reconnect(int, struct bootblock *, struct fatEntry *, cl_t);
+void finishlf(void);
/*
* Small helper functions
@@ -134,11 +134,11 @@ void finishlf __P((void));
/*
* Return the type of a reserved cluster as text
*/
-char *rsrvdcltype __P((cl_t));
+char *rsrvdcltype(cl_t);
/*
* Clear a cluster chain in a FAT
*/
-void clearchain __P((struct bootblock *, struct fatEntry *, cl_t));
+void clearchain(struct bootblock *, struct fatEntry *, cl_t);
#endif
OpenPOWER on IntegriCloud