diff options
author | green <green@FreeBSD.org> | 2000-07-01 05:36:25 +0000 |
---|---|---|
committer | green <green@FreeBSD.org> | 2000-07-01 05:36:25 +0000 |
commit | 5f788961ba48b35c324803f25cdd9c5d46dcf9e7 (patch) | |
tree | e2bd810d05c1625f1047f5ab6bcc21828825df0b /bin/dd/extern.h | |
parent | d65ba30aafb85a96c9826a26c7794d0a5dd9ea22 (diff) | |
download | FreeBSD-src-5f788961ba48b35c324803f25cdd9c5d46dcf9e7.zip FreeBSD-src-5f788961ba48b35c324803f25cdd9c5d46dcf9e7.tar.gz |
Various cleanups are made to reduce warnings and make code prettier :)
Also, check for ftruncate() return value and die on failure, but only
try to ftruncate() when the file is a regular file.
Diffstat (limited to 'bin/dd/extern.h')
-rw-r--r-- | bin/dd/extern.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/dd/extern.h b/bin/dd/extern.h index e5c982c..bdfeeb7 100644 --- a/bin/dd/extern.h +++ b/bin/dd/extern.h @@ -53,10 +53,11 @@ void summaryx __P((int)); void terminate __P((int)); void unblock __P((void)); void unblock_close __P((void)); +void bitswab __P((void *, size_t)); extern IO in, out; extern STAT st; -extern void (*cfunc)(); +extern void (*cfunc) __P((void)); extern quad_t cpy_cnt; extern size_t cbsz; extern u_int ddflags; |