Browse Source

tools: mark local C functions as static (#120)

pull/124/head
link2xt GitHub 3 years ago
parent
commit
79da1db90e
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      tools/blkpack.c
  2. +1
    -1
      tools/common.c

+ 1
- 1
tools/blkpack.c View File

@@ -6,7 +6,7 @@
#include <string.h>
#include <sys/stat.h>

void usage()
static void usage()
{
fprintf(stderr, "Usage: blkpack dirname\n");
}


+ 1
- 1
tools/common.c View File

@@ -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…
Cancel
Save