diff options
| author | Dima Dorfman <dd@FreeBSD.org> | 2001-06-26 22:11:13 +0000 |
|---|---|---|
| committer | Dima Dorfman <dd@FreeBSD.org> | 2001-06-26 22:11:13 +0000 |
| commit | 015fadf9d76abc46b4e4e5f0d97ed50a42624176 (patch) | |
| tree | b130978051d0c595798382b06e24aebc529e5812 /usr.sbin/fdcontrol/fdcontrol.c | |
| parent | 4c34deeecf017d3af243341c1cf056ee970ed051 (diff) | |
Notes
Diffstat (limited to 'usr.sbin/fdcontrol/fdcontrol.c')
| -rw-r--r-- | usr.sbin/fdcontrol/fdcontrol.c | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/usr.sbin/fdcontrol/fdcontrol.c b/usr.sbin/fdcontrol/fdcontrol.c index 6e522bdaf60da..e1200592a2b50 100644 --- a/usr.sbin/fdcontrol/fdcontrol.c +++ b/usr.sbin/fdcontrol/fdcontrol.c @@ -30,14 +30,18 @@ static const char rcsid[] = "$FreeBSD$"; #endif /* not lint */ +#include <sys/fdcio.h> +#include <sys/file.h> + #include <err.h> #include <stdio.h> #include <stdlib.h> #include <unistd.h> -#include <sys/file.h> -#include <sys/fdcio.h> -int +static int getnumber(void); +static void usage(void); + +static int getnumber(void) { int i; @@ -50,7 +54,7 @@ getnumber(void) return i; } -void +static void usage(void) { fprintf(stderr, "usage: fdcontrol [-d 0|1] | [-s] device-node\n"); |
