commit e9a4af87bd6e65e76b12d8e7e180d44d5f385628
Author: sin <[email protected]>
Date:   Sat Jan 25 22:07:13 2014 +0000

    Staticise functions in tr(1)

diff --git a/tr.c b/tr.c
index a4ddef9..b336f57 100644
--- a/tr.c
+++ b/tr.c
@@ -15,7 +15,7 @@ usage(void)
        eprintf("usage: %s set1 [set2]
", 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;


Reply via email to