summaryrefslogtreecommitdiff
path: root/devices.h
diff options
context:
space:
mode:
Diffstat (limited to 'devices.h')
-rw-r--r--devices.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/devices.h b/devices.h
index ab83821..d917401 100644
--- a/devices.h
+++ b/devices.h
@@ -1,4 +1,4 @@
-extern int getDeviceIndex(int sockfd, unsigned char *deviceName);
-extern int getDeviceMAC(const int sockfd, const unsigned char *deviceName, unsigned char *mac);
-extern int getDeviceIp(const int sockfd, const unsigned char *deviceName, struct sockaddr_in *ip);
+extern int getDeviceIndex(int sockfd, char *deviceName);
+extern int getDeviceMAC(const int sockfd, const char *deviceName, unsigned char *mac);
+extern int getDeviceIp(const int sockfd, const char *deviceName, struct sockaddr_in *ip);
int getIps(char *name, int nameLen, struct sockaddr_in *ip);