diff options
author | Guy Harris <guy@alum.mit.edu> | 2015-10-19 09:39:59 -0700 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2015-10-19 16:40:43 +0000 |
commit | 90c4cbef192b299b424d03a3de1727bf2dd0af4a (patch) | |
tree | 74889d41079450c9106f741c1c9d288bb24884ed /epan/dissectors/packet-sna.c | |
parent | 7fc88045ea7ea36ee1b1c8a7bf57a112dbb838d6 (diff) |
If it's used by dissectors, it belongs in to_str.h, not to_str-int.h.
Assuming *any* of the routines that generate printable strings should be
thought of as "for internal use by libwireshark routines only, not by
dissectors", the ones that *are* used by dissectors obviously shouldn't
be. The ability for dissectors to register address types certainly
expands the list of routines they would use.
Move everything used by dissectors from to_str-int.h into to_str.h, and
have dissectors not include to_str-int.h.
(Perhaps we should just get rid of to_str-int.h altogether.)
Change-Id: I3c583351f038233c9bcd8f9216188f82630267fa
Reviewed-on: https://code.wireshark.org/review/11149
Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'epan/dissectors/packet-sna.c')
-rw-r--r-- | epan/dissectors/packet-sna.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-sna.c b/epan/dissectors/packet-sna.c index 3e506aa7f0..41fadf98c0 100644 --- a/epan/dissectors/packet-sna.c +++ b/epan/dissectors/packet-sna.c @@ -30,7 +30,7 @@ #include <epan/address_types.h> #include <epan/prefs.h> #include <epan/reassemble.h> -#include <epan/to_str-int.h> +#include <epan/to_str.h> #include "wsutil/pint.h" /* |