diff options
author | Lv Zheng <jack.lvzheng@gmail.com> | 2015-08-07 12:14:31 +0000 |
---|---|---|
committer | Christian Neukirchen <chneukirchen@gmail.com> | 2015-08-07 18:40:13 +0200 |
commit | 18fc98c42e4308ec3e3c149858c328b61010987c (patch) | |
tree | 3809dc64c992546871a4c38f3b2757401cac74a3 | |
parent | 106586cef8425276e4f2ac1eacc180adaad50968 (diff) | |
download | nq-18fc98c42e4308ec3e3c149858c328b61010987c.tar.gz nq-18fc98c42e4308ec3e3c149858c328b61010987c.tar.xz nq-18fc98c42e4308ec3e3c149858c328b61010987c.zip |
nq.c: add `static' qualifier to global functions.
-rw-r--r-- | nq.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nq.c b/nq.c index bc12132..21a0a5b 100644 --- a/nq.c +++ b/nq.c @@ -39,7 +39,7 @@ #include <time.h> #include <unistd.h> -void +static void swrite(int fd, char *str) { size_t l = strlen(str); @@ -50,7 +50,7 @@ swrite(int fd, char *str) } } -void +static void write_execline(int fd, int argc, char *argv[]) { int i; |