diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2014-03-17 16:40:01 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2014-03-17 16:40:01 +0000 |
commit | be93d6a9c125d07dfc2cc9f217b29a90d316ae6f (patch) | |
tree | 75be1fb6801d6abf34de0e02baeb320b9f40e6b1 /sbin/fdisk/disk.h | |
parent | a0b3facec3f0e32fe1487170e6557e99377ce373 (diff) |
Nuke pointless blank lines, defines, comments and casts. Eliminate
#include in *.h files in favour of listing them as required in the *.c
files. Fix error message to correctly state that 64 is the minimum
value for -l. Use errx() where errno is not relevant. Use 'continue'
rather than a label to go back to start of a loop.
No intentional functional change.
Diffstat (limited to 'sbin/fdisk/disk.h')
-rw-r--r-- | sbin/fdisk/disk.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sbin/fdisk/disk.h b/sbin/fdisk/disk.h index c6cbf3549f7..f8fa3afcaa8 100644 --- a/sbin/fdisk/disk.h +++ b/sbin/fdisk/disk.h @@ -1,4 +1,4 @@ -/* $OpenBSD: disk.h,v 1.15 2014/03/17 13:15:44 krw Exp $ */ +/* $OpenBSD: disk.h,v 1.16 2014/03/17 16:40:00 krw Exp $ */ /* * Copyright (c) 1997 Tobias Weingartner @@ -28,7 +28,6 @@ #ifndef _DISK_H #define _DISK_H -/* Data types */ struct disk { char *name; u_int32_t cylinders; @@ -37,7 +36,6 @@ struct disk { u_int32_t size; }; -/* Prototypes */ int DISK_open(char *, int); void DISK_getlabelgeometry(struct disk *); int DISK_printgeometry(struct disk *, char *); |