Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

And un-constify some others.

  • Loading branch information...
commit 1acc5f33cf1e172c4347257cf2b1f52753e2e7ca 1 parent d258245
@guyharris guyharris authored
View
3  pcap-bt-linux.c
@@ -137,7 +137,8 @@ bt_findalldevs(pcap_if_t **alldevsp, char *err_str)
pcap_t *
bt_create(const char *device, char *ebuf, int *is_ours)
{
- const char *cp, *cpend;
+ const char *cp;
+ char *cpend;
long devnum;
pcap_t *p;
View
3  pcap-can-linux.c
@@ -87,7 +87,8 @@ can_findalldevs(pcap_if_t **devlistp, char *errbuf)
pcap_t *
can_create(const char *device, char *ebuf, int *is_ours)
{
- const char *cp, *cpend;
+ const char *cp;
+ char *cpend;
long devnum;
pcap_t* p;
View
3  pcap-canusb-linux.c
@@ -198,7 +198,8 @@ static libusb_device_handle* canusb_opendevice(struct libusb_context *ctx, char*
pcap_t *
canusb_create(const char *device, char *ebuf, int *is_ours)
{
- const char *cp, *cpend;
+ const char *cp;
+ char *cpend;
long devnum;
pcap_t* p;
View
3  pcap-dag.c
@@ -834,7 +834,8 @@ static int dag_activate(pcap_t* handle)
pcap_t *dag_create(const char *device, char *ebuf, int *is_ours)
{
- const char *cp, *cpend;
+ const char *cp;
+ char *cpend;
long devnum;
pcap_t *p;
View
3  pcap-usb-linux.c
@@ -286,7 +286,8 @@ probe_devices(int bus)
pcap_t *
usb_create(const char *device, char *ebuf, int *is_ours)
{
- const char *cp, *cpend;
+ const char *cp;
+ char *cpend;
long devnum;
pcap_t *p;
Please sign in to comment.
Something went wrong with that request. Please try again.