diff options
author | in2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2002-11-02 19:02:44 +0800 |
---|---|---|
committer | in2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2002-11-02 19:02:44 +0800 |
commit | 2dc136d20bd5963cc7827f1383c45d7ff62f2738 (patch) | |
tree | 583f67ea53d88718b1a7114f23bb6df6d9ffdd2f /util/util_passwd.c | |
parent | 87e05ea3f3ac90f87736bff8141e245bf5572595 (diff) | |
download | pttbbs-2dc136d20bd5963cc7827f1383c45d7ff62f2738.tar pttbbs-2dc136d20bd5963cc7827f1383c45d7ff62f2738.tar.gz pttbbs-2dc136d20bd5963cc7827f1383c45d7ff62f2738.tar.bz2 pttbbs-2dc136d20bd5963cc7827f1383c45d7ff62f2738.tar.lz pttbbs-2dc136d20bd5963cc7827f1383c45d7ff62f2738.tar.xz pttbbs-2dc136d20bd5963cc7827f1383c45d7ff62f2738.tar.zst pttbbs-2dc136d20bd5963cc7827f1383c45d7ff62f2738.zip |
warning free
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@550 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'util/util_passwd.c')
-rw-r--r-- | util/util_passwd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/util/util_passwd.c b/util/util_passwd.c index c9fe4eac..17961d87 100644 --- a/util/util_passwd.c +++ b/util/util_passwd.c @@ -1,4 +1,4 @@ -/* $Id: util_passwd.c,v 1.2 2002/03/09 17:44:30 in2 Exp $ */ +/* $Id: util_passwd.c,v 1.3 2002/11/02 11:02:44 in2 Exp $ */ #include <stdio.h> #include <string.h> #include <fcntl.h> @@ -36,7 +36,7 @@ static userec_t *passwd_image = NULL; static int passwd_image_size; static int semid = -1; -int passwd_mmap() { +int passwd_mmap(void) { int fd; if(passwd_image!=NULL) return 0; |