* rest-of-the-universe libpcap.
*/
int
-get_pcap_linktype(pcap_t *pch, char *devname
+get_pcap_linktype(pcap_t *pch, const char *devname
#ifndef _AIX
_U_
#endif
{
int linktype;
#ifdef _AIX
- char *ifacename;
+ const char *ifacename;
#endif
linktype = pcap_datalink(pch);
}
GList *
-get_pcap_linktype_list(char *devname, char *err_buf)
+get_pcap_linktype_list(const char *devname, char *err_buf)
{
GList *linktype_list = NULL;
pcap_t *pch;