Prechádzať zdrojové kódy

- fixed compiler warnings

Jan Janak 20 rokov pred
rodič
commit
ba1866be43
1 zmenil súbory, kde vykonal 2 pridanie a 1 odobranie
  1. 2 1
      utils/serunix/serunix.c

+ 2 - 1
utils/serunix/serunix.c

@@ -28,6 +28,7 @@
 
 #include <stdio.h>
 #include <string.h>
+#include <unistd.h>
 #include <sys/types.h>
 #include <sys/socket.h>
 #include <sys/un.h>
@@ -57,7 +58,7 @@ int main(int argc, char** argv)
 {
 	int sock, len, from_len;
 	struct sockaddr_un from, to;
-	char* name, *s;
+	char* name;
 	static char buffer[BUF_SIZE];
 
 	if (argc != 2) {