mirror of
https://github.com/vattam/BSDGames.git
synced 2025-12-21 03:14:50 +00:00
new upstream
git-svn-id: file:///srv/svn/joey/trunk/src/packages/bsdgames@10080 a4a2c43b-8ac3-0310-8836-e0e880c912e2
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user