diff --git a/inc/etherdefs.h b/inc/etherdefs.h index b81cb52..013984d 100644 --- a/inc/etherdefs.h +++ b/inc/etherdefs.h @@ -19,5 +19,5 @@ void setNethubHost(char* host); void setNethubPort(int port); void setNethubMac(int m0, int m1, int m2, int m3, int m4, int m5); void setNethubLogLevel(int ll); -void connectToHub(); +void connectToHub(void); #endif diff --git a/src/ether_nethub.c b/src/ether_nethub.c index 672d358..63ca502 100644 --- a/src/ether_nethub.c +++ b/src/ether_nethub.c @@ -131,7 +131,7 @@ static void dblwordsSwap(u_char* basePtr, int forBytes) { ** --- connect, disconnect and transmit packets ----------------------------------- */ -void connectToHub() { +void connectToHub(void) { if (nethubHost == NULL) { return; }