mirror of
https://github.com/opnsense/src.git
synced 2026-06-10 09:11:07 -04:00
Make a few functions inline to save space.
This commit is contained in:
parent
f8c05e5019
commit
a3fc4e0754
1 changed files with 3 additions and 3 deletions
|
|
@ -154,7 +154,7 @@ devread(char *buf, int block, size_t size)
|
|||
prom_read(prom_fd, size, buf, block);
|
||||
}
|
||||
|
||||
static void
|
||||
static inline void
|
||||
devclose()
|
||||
{
|
||||
if (prom_fd) {
|
||||
|
|
@ -163,7 +163,7 @@ devclose()
|
|||
}
|
||||
}
|
||||
|
||||
static void
|
||||
static inline void
|
||||
getfilename(char *filename, const char *defname)
|
||||
{
|
||||
int c;
|
||||
|
|
@ -189,7 +189,7 @@ getfilename(char *filename, const char *defname)
|
|||
return;
|
||||
}
|
||||
|
||||
static void
|
||||
static inline void
|
||||
loadfile(char *name, char *addr)
|
||||
{
|
||||
int n;
|
||||
|
|
|
|||
Loading…
Reference in a new issue