diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2015-11-16 09:07:54 +0100 |
---|---|---|
committer | Tobias Klauser <tklauser@distanz.ch> | 2015-11-16 09:07:54 +0100 |
commit | 48493306d27a1e2f7750228a37c32e892ffbb310 (patch) | |
tree | ad05f41259f07f695498c83e14aad95c6ab7c97c /lookup.h | |
parent | 3d84a7208988ad641599271d5bfde078c2fc9b4c (diff) |
lookup: Return const char * from all lookup functions
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'lookup.h')
-rw-r--r-- | lookup.h | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -19,10 +19,10 @@ enum lookup_type { extern void lookup_init(enum lookup_type which); extern void lookup_cleanup(enum lookup_type which); -extern char *lookup_port_udp(unsigned int id); -extern char *lookup_port_tcp(unsigned int id); -extern char *lookup_ether_type(unsigned int id); -extern char *lookup_vendor(unsigned int id); +extern const char *lookup_port_udp(unsigned int id); +extern const char *lookup_port_tcp(unsigned int id); +extern const char *lookup_ether_type(unsigned int id); +extern const char *lookup_vendor(unsigned int id); static inline const char *lookup_vendor_str(unsigned int id) { |