summaryrefslogtreecommitdiff
path: root/st.c
diff options
context:
space:
mode:
Diffstat (limited to 'st.c')
-rw-r--r--st.c14
1 files changed, 6 insertions, 8 deletions
diff --git a/st.c b/st.c
index 0ace74e235..88d79f8d70 100644
--- a/st.c
+++ b/st.c
@@ -38,11 +38,9 @@ struct st_table_entry {
*
*/
-static int numcmp(long, long);
-static int numhash(long);
static struct st_hash_type type_numhash = {
- numcmp,
- numhash,
+ st_numcmp,
+ st_numhash,
};
/* extern int strcmp(const char *, const char *); */
@@ -589,14 +587,14 @@ strhash(register const char *string)
return hval;
}
-static int
-numcmp(long x, long y)
+int
+st_numcmp(long x, long y)
{
return x != y;
}
-static int
-numhash(long n)
+int
+st_numhash(long n)
{
return n;
}