Browse Source

With all the headerfile changes, some functions didn't get there arg types
fixed up.

David McCullough 24 years ago
parent
commit
dc52a36cad
2 changed files with 2 additions and 2 deletions
  1. 1 1
      libc/inet/ntop.c
  2. 1 1
      libc/misc/sysvipc/sem.c

+ 1 - 1
libc/inet/ntop.c

@@ -360,7 +360,7 @@ inet_ntop(af, src, dst, size)
 	int af;
 	int af;
 	const void *src;
 	const void *src;
 	char *dst;
 	char *dst;
-	size_t size;
+	socklen_t size;
 {
 {
 	switch (af) {
 	switch (af) {
 	case AF_INET:
 	case AF_INET:

+ 1 - 1
libc/misc/sysvipc/sem.c

@@ -72,7 +72,7 @@ int
 semop (semid, sops, nsops)
 semop (semid, sops, nsops)
     int semid;
     int semid;
     struct sembuf *sops;
     struct sembuf *sops;
-    unsigned int nsops;
+    size_t nsops;
 {
 {
     return __ipc(IPCOP_semop, semid, (int) nsops, 0, sops);
     return __ipc(IPCOP_semop, semid, (int) nsops, 0, sops);
 }
 }