From: Alan T. DeKok Date: Sat, 9 Mar 2013 01:46:00 +0000 (-0500) Subject: We haven't used sys/locking.h for a while. X-Git-Tag: release_3_0_0_beta1~781 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=63b4ce22760586ffe86604f25ed837777308aec1;p=thirdparty%2Ffreeradius-server.git We haven't used sys/locking.h for a while. --- diff --git a/src/include/missing-h b/src/include/missing-h index e71e342fa11..11d49bfe5f3 100644 --- a/src/include/missing-h +++ b/src/include/missing-h @@ -66,10 +66,6 @@ RCSIDH(missing_h, "$Id$") # include #endif -#ifdef HAVE_SYS_LOCKING_H -# include -#endif - #ifdef HAVE_ERRNO_H # include #endif @@ -386,14 +382,6 @@ int gettimeofday (struct timeval *tv, void *tz); # define FR_DIR_IS_RELATIVE(p) ((*p) != '/') #endif -#ifdef HAVE_SYS_LOCKING_H -# define lockf _locking -# define F_ULOCK _LK_UNLCK /* Unlock locked sections. */ -# define F_LOCK _LK_LOCK /* Lock a section for exclusive use. */ -# define F_TLOCK _LK_NBLCK /* Test and lock a section for exclusive use */ -# define F_TEST _LK_RLCK /* Test section for locks by other processes. */ -#endif - #ifndef offsetof # define offsetof(TYPE, MEMBER) ((size_t) &((TYPE *)0)->MEMBER) #endif