diff options
| author | tjg <tjg> | 2001-10-12 10:22:55 +0000 |
|---|---|---|
| committer | Toby Goodwin <toby@paccrat.org> | 2015-05-16 21:23:20 +0100 |
| commit | 753fd6ea3c4aadf9de5265663a98df371c975dde (patch) | |
| tree | 5ca669d21e1bd5746f943ec19a3f97c94db1484a | |
| parent | 692977070514082a226f256e8df7dfea33b31bc2 (diff) | |
make functions static, to avoid warnings
| -rw-r--r-- | tripping.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -3,18 +3,18 @@ #include <fcntl.h> #include <stdio.h> -void out0(void) { +static void out0(void) { putchar('t'); putchar('r'); putchar('\0'); putchar('u'); putchar('e'); putchar('\n'); } -void ctrl_a(void) { +static void ctrl_a(void) { puts("a\001ab\002b"); } -void makenonblock(void) { +static void makenonblock(void) { int flags; if ((flags = fcntl(0, F_GETFL)) == -1) |