浏览代码

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

David McCullough 23 年之前
父节点
当前提交
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;
 	const void *src;
 	char *dst;
-	size_t size;
+	socklen_t size;
 {
 	switch (af) {
 	case AF_INET:

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

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