aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2005-09-15 08:21:10 +0000
committerSergey Poznyakoff <gray@gnu.org.ua>2005-09-15 08:21:10 +0000
commita10d79f2f703b8dcb6393282c7bdb5baae7f3061 (patch)
treede57ac7983341b58de6417a618ea06b12f36396c /doc
parent1e1cd7f924d80e76aca50bac944084aab6c4edbe (diff)
downloadcflow-a10d79f2f703b8dcb6393282c7bdb5baae7f3061.tar.gz
cflow-a10d79f2f703b8dcb6393282c7bdb5baae7f3061.tar.bz2
Change several symbols to static to illustrate -i^s option
Diffstat (limited to 'doc')
-rw-r--r--doc/wc.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/wc.c b/doc/wc.c
index 853639e..4b72484 100644
--- a/doc/wc.c
+++ b/doc/wc.c
@@ -18,7 +18,7 @@ count_t total_lcount = 0;
/* Print error message and exit with error status. If PERR is not 0,
display current errno status. */
-void
+static void
error_print (int perr, char *fmt, va_list ap)
{
vfprintf (stderr, fmt, ap);
@@ -30,7 +30,7 @@ error_print (int perr, char *fmt, va_list ap)
}
/* Print error message and exit with error status. */
-void
+static void
errf (char *fmt, ...)
{
va_list ap;
@@ -41,7 +41,7 @@ errf (char *fmt, ...)
}
/* Print error message followed by errno status and exit with error code. */
-void
+static void
perrf (char *fmt, ...)
{
va_list ap;
@@ -59,7 +59,7 @@ report (char *file, count_t ccount, count_t wcount, count_t lcount)
}
/* Return true if C is a valid word constituent */
-int
+static int
isword (unsigned char c)
{
return isalpha (c);

Return to:

Send suggestions and report system problems to the System administrator.