Fixed style bugs in previous commit (unsorting of declarations and poor

wording in a comment).
This commit is contained in:
Bruce Evans 2003-12-27 06:44:32 +00:00
parent 48eb260754
commit 30b48d7f6d
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=123883

View File

@ -46,9 +46,9 @@
*/
extern int alwaysno; /* assume "no" for all questions */
extern int alwaysyes; /* assume "yes" for all questions */
extern int force; /* force check even the fs is clean */
extern int preen; /* we are preening */
extern int rdonly; /* device is opened read only (supersedes above) */
extern int force;
extern struct dosDirEntry *rootDir;
@ -57,6 +57,13 @@ extern struct dosDirEntry *rootDir;
*/
int ask(int, const char *, ...) __attribute__((__format__(__printf__,2,3)));
/*
* Check the dirty flag. If the file system is clean, then return 1.
* Otherwise, return 0 (this includes the case of FAT12 file systems --
* they have no dirty flag, so they must be assumed to be unclean).
*/
int checkdirty(int, struct bootblock *);
/*
* Check file system given as arg
*/
@ -85,12 +92,6 @@ int readboot(int, struct bootblock *);
*/
int writefsinfo(int, struct bootblock *);
/*
* Check the dirty flag. If clean return 1, otherwise return 0.
* If it is FAT12, return 0 always.
*/
int checkdirty(int, struct bootblock *);
/*
* Read one of the FAT copies and return a pointer to the new
* allocated array holding our description of it.