Staticise functions in tr(1)

This commit is contained in:
sin 2014-01-25 22:07:13 +00:00
parent db2c54bee6
commit e9a4af87bd

8
tr.c
View File

@ -15,7 +15,7 @@ usage(void)
eprintf("usage: %s set1 [set2]\n", argv0); eprintf("usage: %s set1 [set2]\n", argv0);
} }
void static void
handleescapes(char *s) handleescapes(char *s)
{ {
switch(*s) { switch(*s) {
@ -46,7 +46,7 @@ handleescapes(char *s)
} }
} }
void static void
parsemapping(const char *set1, const char *set2, wchar_t *mappings) parsemapping(const char *set1, const char *set2, wchar_t *mappings)
{ {
char *s; 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) maptonull(const wchar_t *mappings, char *in)
{ {
const char *s; const char *s;
@ -94,7 +94,7 @@ maptonull(const wchar_t *mappings, char *in)
} }
} }
void static void
maptoset(const wchar_t *mappings, char *in) maptoset(const wchar_t *mappings, char *in)
{ {
const char *s; const char *s;