Move __iniline function definition before its first usage in the file.

This commit is contained in:
Alexander Kabaev 2004-07-28 07:17:00 +00:00
parent 64349aaa88
commit 8568d3e3f4
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=132788

View File

@ -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)