summaryrefslogtreecommitdiffstats
path: root/usr.sbin/eeprom/ofw_options.c
diff options
context:
space:
mode:
authorkan <kan@FreeBSD.org>2004-07-28 07:17:00 +0000
committerkan <kan@FreeBSD.org>2004-07-28 07:17:00 +0000
commitcd51b9e3acc4ebaa98c68d2ec24d4f46d089f166 (patch)
treed747916962120180c796c100c6f0e99c36194077 /usr.sbin/eeprom/ofw_options.c
parent4bd37031bb9bf87039d3f5b814b73b898a9cb5d2 (diff)
downloadFreeBSD-src-cd51b9e3acc4ebaa98c68d2ec24d4f46d089f166.zip
FreeBSD-src-cd51b9e3acc4ebaa98c68d2ec24d4f46d089f166.tar.gz
Move __iniline function definition before its first usage in the file.
Diffstat (limited to 'usr.sbin/eeprom/ofw_options.c')
-rw-r--r--usr.sbin/eeprom/ofw_options.c15
1 files changed, 7 insertions, 8 deletions
diff --git a/usr.sbin/eeprom/ofw_options.c b/usr.sbin/eeprom/ofw_options.c
index d04e61a..a840d01 100644
--- a/usr.sbin/eeprom/ofw_options.c
+++ b/usr.sbin/eeprom/ofw_options.c
@@ -71,10 +71,16 @@ static struct ofwo_extabent ofwo_extab[] = {
};
static int ofwo_setpass(int);
-static __inline void ofwo_printprop(const char *, const char*, int);
static int ofwo_setstr(int, const void *, int, const char *,
const char *);
+static __inline void
+ofwo_printprop(const char *prop, const char* buf, int buflen)
+{
+
+ printf("%s: %.*s\n", prop, buflen, buf);
+}
+
static int
ofwo_oemlogo(struct ofwo_extabent *exent, int fd, const void *buf, int buflen,
const char *val)
@@ -192,13 +198,6 @@ ofwo_setpass(int fd)
return (EX_OK);
}
-static void
-ofwo_printprop(const char *prop, const char* buf, int buflen)
-{
-
- printf("%s: %.*s\n", prop, buflen, buf);
-}
-
static int
ofwo_setstr(int fd, const void *buf, int buflen, const char *prop,
const char *val)
OpenPOWER on IntegriCloud