aboutsummaryrefslogtreecommitdiff
path: root/bin/ls/print.c
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>2000-06-06 07:19:50 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>2000-06-06 07:19:50 +0000
commit1bf1478a9fe4095b953d84b7652475e62acef93c (patch)
tree3e3c983a9c5a2aa7fab1fff60be25f024187742a /bin/ls/print.c
parentfd4e4d608f4874d25e15bdf692712cb3ee26953d (diff)
downloadsrc-1bf1478a9fe4095b953d84b7652475e62acef93c.tar.gz
src-1bf1478a9fe4095b953d84b7652475e62acef93c.zip
Staticize more functions
Notes
Notes: svn path=/head/; revision=61323
Diffstat (limited to 'bin/ls/print.c')
-rw-r--r--bin/ls/print.c11
1 files changed, 7 insertions, 4 deletions
diff --git a/bin/ls/print.c b/bin/ls/print.c
index f439de4b79ca..d4a9d6ed226e 100644
--- a/bin/ls/print.c
+++ b/bin/ls/print.c
@@ -360,14 +360,16 @@ printtype(mode)
}
#ifdef COLORLS
-int putch(c)
+static int
+putch(c)
int c;
{
(void) putchar(c);
return 0;
}
-int writech(c)
+static int
+writech(c)
int c;
{
char tmp = c;
@@ -376,7 +378,7 @@ int writech(c)
return 0;
}
-void
+static void
printcolor(c)
Colors c;
{
@@ -478,7 +480,8 @@ char *cs;
}
}
-void colorquit(sig)
+void
+colorquit(sig)
int sig;
{
endcolor(sig);