diff options
author | Miles Bader <miles@gnu.org> | 1995-10-18 17:24:16 +0000 |
---|---|---|
committer | Miles Bader <miles@gnu.org> | 1995-10-18 17:24:16 +0000 |
commit | effc226d51d68669c91f24a8069ec900e0be6082 (patch) | |
tree | 2d00867f879167b34eede77281c7526298f3d918 /ufs-fsck | |
parent | c1db5c4ef120d99ea0f9af42e2b35e85e4bb5f24 (diff) |
Declare DEVICE_NAME.
Change declaration of pinode.
Change LFNAME to char*.
Diffstat (limited to 'ufs-fsck')
-rw-r--r-- | ufs-fsck/fsck.h | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/ufs-fsck/fsck.h b/ufs-fsck/fsck.h index 5bcc6014..6dbd0886 100644 --- a/ufs-fsck/fsck.h +++ b/ufs-fsck/fsck.h @@ -1,4 +1,3 @@ - /* Copyright (C) 1994, 1995 Free Software Foundation, Inc. Written by Michael I. Bushnell. @@ -53,6 +52,9 @@ char *typemap; /* Map of blocks allocated */ char *blockmap; +/* A string identifying what we're trying to check. */ +extern char *device_name; + /* Command line flags */ int nowrite; /* all questions fail */ @@ -114,9 +116,9 @@ int readfd, writefd; int fsmodified; int lfdir; -char lfname[]; -mode_t lfmode; +mode_t lfmode; +extern char *lfname; #define NBBY 8 #define howmany(x,y) (((x)+((y)-1))/(y)) @@ -163,11 +165,10 @@ void allblock_iterate (struct dinode *, int (*)(daddr_t, int, off_t)); void record_directory (struct dinode *, ino_t); struct dirinfo *lookup_directory (ino_t); -void pinode (ino_t); - int reply (char *); +void pfix (char *fix); +void pinode (ino_t, char *fmt, ...) __attribute__ ((format (printf, 2, 3))); +int pwarn (char *, ...) __attribute__ ((format (printf, 1, 2))); int pfatal (char *, ...) __attribute__ ((format (printf, 1, 2))); void errexit (char *, ...) __attribute__ ((format (printf, 1, 2), noreturn)); -int pwarn (char *, ...) __attribute__ ((format (printf, 1, 2))); - |