diff options
author | Guy Harris <guy@alum.mit.edu> | 2011-05-17 23:33:23 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2011-05-17 23:33:23 +0000 |
commit | 8f53a5655cb2ccad82056ebbbab7e6ed40e5c35f (patch) | |
tree | 0c072378d8eddf255d2f1c16db913ab7feba7681 /epan/oids.c | |
parent | e902f33d18d034b5e61bc5e7889ec3982c1d98a3 (diff) |
Make some routines static that aren't used outside the source file in
which they're defined.
Include some header files that declare functions in the source files
that define the functions.
Declare packet_list_get_type() in gtk/packet_list_store.h, as it defines
a macro that uses that function.
svn path=/trunk/; revision=37223
Diffstat (limited to 'epan/oids.c')
-rw-r--r-- | epan/oids.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/oids.c b/epan/oids.c index 05835833c6..363d168abd 100644 --- a/epan/oids.c +++ b/epan/oids.c @@ -801,7 +801,7 @@ const char* oid_subid2string(guint32* subids, guint len) { return s; } -guint check_num_oid(const char* str) { +static guint check_num_oid(const char* str) { const char* r = str; char c = '\0'; guint n = 0; @@ -1057,7 +1057,7 @@ guint oid_string2encoded(const char *oid_str, guint8 **bytes) { return 0; } -char* oid2str(oid_info_t* oid, guint32* subids, guint len, guint left) { +static char* oid2str(oid_info_t* oid, guint32* subids, guint len, guint left) { if (left == 0) { return oid->name; } else { |