فهرست منبع

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

David McCullough 25 سال پیش
والد
کامیت
dc52a36cad
2فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  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);
 }
 }