Skip to content
Browse files

And un-constify some others.

  • Loading branch information...
1 parent d258245 commit 1acc5f33cf1e172c4347257cf2b1f52753e2e7ca @guyharris guyharris committed Jun 11, 2012
Showing with 10 additions and 5 deletions.
  1. +2 −1 pcap-bt-linux.c
  2. +2 −1 pcap-can-linux.c
  3. +2 −1 pcap-canusb-linux.c
  4. +2 −1 pcap-dag.c
  5. +2 −1 pcap-usb-linux.c
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;

0 comments on commit 1acc5f3

Please sign in to comment.
Something went wrong with that request. Please try again.