mirror of
https://github.com/hsoft/collapseos.git
synced 2024-12-25 17:18:06 +11:00
tools: mark local C functions as static (#120)
This commit is contained in:
parent
472331b450
commit
79da1db90e
@ -6,7 +6,7 @@
|
||||
#include <string.h>
|
||||
#include <sys/stat.h>
|
||||
|
||||
void usage()
|
||||
static void usage()
|
||||
{
|
||||
fprintf(stderr, "Usage: blkpack dirname\n");
|
||||
}
|
||||
|
@ -16,7 +16,7 @@ void mread(int fd, char *s, int count)
|
||||
}
|
||||
}
|
||||
|
||||
void mexpect(int fd, char ec)
|
||||
static void mexpect(int fd, char ec)
|
||||
{
|
||||
char c;
|
||||
mread(fd, &c, 1);
|
||||
|
Loading…
Reference in New Issue
Block a user