/*
 * $Id: pthread-after.h,v 1.14 2000/09/22 22:05:17 k-abe Exp $
 *
 * This file is part of PTL, Portable Thread Library.
 *
 * Copyright (C) 1997-2000 Kota Abe
 *
 */

#include <sys/pthread-extsym.h>
#include <sys/pthread-cdecl.h>

/*#undef sigaction*/
/*#undef sigpending*/

#undef sigsuspend
#undef sigwait
#undef nanosleep
#undef sleep
#ifndef PTL_NO_RENAME
# define sigsuspend(set) \
	_pthread_sigsuspend(set, __FILE__, __FUNCTION__, __LINE__)
# define sigwait(set, sig) \
	_pthread_sigwait(set, sig, __FILE__, __FUNCTION__, __LINE__)
# define nanosleep(ts, ots) \
	_pthread_nanosleep(ts, ots, __FILE__, __FUNCTION__, __LINE__)
# define sleep(sec) \
	_pthread_sleep(sec, __FILE__, __FUNCTION__, __LINE__)
#endif

#undef socket
#undef alarm
#undef read
#undef accept
#undef connect
#undef write
#undef readv
#undef writev
#undef send
#undef sendto
#undef sendmsg
#undef recv
#undef recvfrom
#undef recvmsg
#undef open
#undef creat
#undef select
#undef fcntl
#undef exit
#undef _exit
#undef pause
#undef wait
#undef waitpid
#undef wait3
#undef wait4
#undef fork
#undef pipe

#undef mktemp
#undef clock_gettime
#undef fcntl
#ifdef PTL_INTERNAL
#undef ioctl
#endif
#undef jmp_buf
#undef mkstemp
#undef sigjmp_buf
#ifndef __NetBSD__
# undef sys_errlist
#endif
#undef tempnam
#ifndef HAVE_TIMESPEC
#undef timespec
#endif
#undef tmpfile
#undef tmpnam
#undef usleep
/*#undef sprintf*/
#undef malloc
#undef calloc
#undef realloc
#undef free

#undef pthread_t
#undef pthread_attr_t
#undef pthread_mutex_t
#undef pthread_mutexattr_t
#undef pthread_cond_t
#undef pthread_condattr_t
#undef pthread_once_t
#undef pthread_key_t
#undef pthread_kill
#undef pthread_atfork

#undef __PTL_RENAMED__
