new upstream

git-svn-id: file:///srv/svn/joey/trunk/src/packages/bsdgames@10080 a4a2c43b-8ac3-0310-8836-e0e880c912e2
This commit is contained in:
joey
2004-02-14 21:35:37 +00:00
parent 26fb70d304
commit a02c126403
224 changed files with 5624 additions and 2217 deletions

View File

@@ -1,6 +1,6 @@
/* signal.h - bsd-games wrapper for <signal.h>.
*
* Copyright (c) 1997, 1998, 2000 Joseph Samuel Myers.
* Copyright (c) 1997, 1998, 2000, 2004 Joseph Samuel Myers.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -39,10 +39,9 @@
#include_next <signal.h>
#ifndef __GLIBC__ /* glibc 2 has this; with libc5 we want to avoid
* <bsd/signal.h>. */
#ifndef HAVE_sig_t
#ifndef LINUX_BSD_GAMES_DEFINED_SIG_T
typedef __sighandler_t sig_t;
typedef void (*sig_t)(int);
#define LINUX_BSD_GAMES_DEFINED_SIG_T 1
#endif
#endif

View File

@@ -1,6 +1,6 @@
/* stdlib.h - bsd-games wrapper for <stdlib.h>.
*
* Copyright (c) 1998, 1999, 2000 Joseph Samuel Myers.
* Copyright (c) 1998, 1999, 2000, 2004 Joseph Samuel Myers.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -37,3 +37,7 @@
#ifndef HAVE_getloadavg
extern int getloadavg(double loadavg[], int nelem);
#endif
#ifndef HAVE_getprogname
extern const char *getprogname(void);
#endif