From 8568d3e3f4418339a461f3619b723a983f63a876 Mon Sep 17 00:00:00 2001 From: Alexander Kabaev Date: Wed, 28 Jul 2004 07:17:00 +0000 Subject: [PATCH] Move __iniline function definition before its first usage in the file. --- usr.sbin/eeprom/ofw_options.c | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/usr.sbin/eeprom/ofw_options.c b/usr.sbin/eeprom/ofw_options.c index d04e61a533a0..a840d01d441a 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)