瀏覽代碼

changed int-functions to void-functions

eck 34 年之前
父節點
當前提交
7f4e95884f
共有 2 個文件被更改,包括 3 次插入3 次删除
  1. 1 1
      lang/cem/libcc.ansi/misc/getdents.c
  2. 2 2
      lang/cem/libcc.ansi/misc/getgrent.c

+ 1 - 1
lang/cem/libcc.ansi/misc/getdents.c

@@ -196,7 +196,7 @@ getdents(int fildes, char *buf, unsigned nbyte)	/* returns # bytes read;
 			}
 		/* else fall through into emulation */
 
-/*	case no:	/* fall through into emulation */
+/*	case no:*/	/* fall through into emulation */
 		}
 #endif
 

+ 2 - 2
lang/cem/libcc.ansi/misc/getgrent.c

@@ -45,7 +45,7 @@ setgrent(void)
         return _gfd;
 }
 
-int
+void
 endgrent(void) 
 {
         if (_gfd >= 0)
@@ -79,7 +79,7 @@ getline(void)
         return 1;
 }
 
-static int
+static void
 skip_period(void) 
 {
         while (*_buf && *_buf != ':')