mirror of
https://github.com/Interlisp/maiko.git
synced 2026-04-12 14:53:12 +00:00
Correct malformed connectToHub prototype and definition
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user