openbsd-ports/japanese/Wnn/patches/patch-Xwnmo_xjutil_jutil_c

15 lines
498 B
Plaintext

$OpenBSD: patch-Xwnmo_xjutil_jutil_c,v 1.2 2008/08/30 11:17:00 espie Exp $
--- Xwnmo/xjutil/jutil.c.orig Thu Jan 21 09:05:44 1993
+++ Xwnmo/xjutil/jutil.c Sat Aug 30 13:13:01 2008
@@ -664,10 +664,7 @@ int (*error_handler)(), (*message_handler)();
extern int srand();
extern long rand();
#else
- extern int srandom();
- extern long random();
#endif
- extern long time();
if(pwd_file == NULL || *pwd_file == 0) return(0);
if(access(pwd_file, F_OK) != -1) return(0);