Add signal and strdup to libbroken
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@422 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -24,12 +24,15 @@ libdir = $(exec_prefix)/lib
|
||||
PICFLAGS = @PICFLAGS@
|
||||
|
||||
LIBNAME = libbroken
|
||||
LIBEXT = @LIBEXT@
|
||||
#LIBEXT = @LIBEXT@ Always build archive library and don't install!
|
||||
LIBEXT = a
|
||||
SHLIBEXT = @SHLIBEXT@
|
||||
LIB = $(LIBNAME).$(LIBEXT)
|
||||
|
||||
|
||||
OBJECTS = @LIBOBJS@
|
||||
SOURCES = signal.c
|
||||
|
||||
OBJECTS = signal.o @LIBOBJS@
|
||||
|
||||
all: $(LIB)
|
||||
|
||||
|
@@ -1,7 +1,11 @@
|
||||
#include "bsd_locl.h"
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
RCSID("$Id$");
|
||||
|
||||
#include <signal.h>
|
||||
|
||||
/*
|
||||
* We would like to always use this signal but there is a link error
|
||||
* on NEXTSTEP
|
||||
@@ -13,6 +17,8 @@ RCSID("$Id$");
|
||||
* Do we need any extra hacks for SIGCLD and/or SIGCHLD?
|
||||
*/
|
||||
|
||||
typedef RETSIGTYPE (*SigAction)(/* int??? */);
|
||||
|
||||
SigAction
|
||||
signal(int iSig, SigAction pAction)
|
||||
{
|
||||
|
Reference in New Issue
Block a user