mirror of
https://github.com/hsoft/collapseos.git
synced 2024-11-23 19:48: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 <string.h>
|
||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
|
|
||||||
void usage()
|
static void usage()
|
||||||
{
|
{
|
||||||
fprintf(stderr, "Usage: blkpack dirname\n");
|
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;
|
char c;
|
||||||
mread(fd, &c, 1);
|
mread(fd, &c, 1);
|
||||||
|
Loading…
Reference in New Issue
Block a user