rc

[fork] interactive rc shell
Log | Files | Refs | README | LICENSE

commit 753fd6ea3c4aadf9de5265663a98df371c975dde
parent 692977070514082a226f256e8df7dfea33b31bc2
Author: tjg <tjg>
Date:   Fri, 12 Oct 2001 10:22:55 +0000

make functions static, to avoid warnings

Diffstat:
Mtripping.c | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/tripping.c b/tripping.c @@ -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)