commit e9a4af87bd6e65e76b12d8e7e180d44d5f385628
parent db2c54bee6776715bbce1b64b317bddd64fa076a
Author: sin <sin@2f30.org>
Date: Sat, 25 Jan 2014 22:07:13 +0000
Staticise functions in tr(1)
Diffstat:
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/tr.c b/tr.c
@@ -15,7 +15,7 @@ usage(void)
eprintf("usage: %s set1 [set2]\n", argv0);
}
-void
+static void
handleescapes(char *s)
{
switch(*s) {
@@ -46,7 +46,7 @@ handleescapes(char *s)
}
}
-void
+static void
parsemapping(const char *set1, const char *set2, wchar_t *mappings)
{
char *s;
@@ -78,7 +78,7 @@ parsemapping(const char *set1, const char *set2, wchar_t *mappings)
}
}
-void
+static void
maptonull(const wchar_t *mappings, char *in)
{
const char *s;
@@ -94,7 +94,7 @@ maptonull(const wchar_t *mappings, char *in)
}
}
-void
+static void
maptoset(const wchar_t *mappings, char *in)
{
const char *s;