]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
We haven't used sys/locking.h for a while.
authorAlan T. DeKok <aland@freeradius.org>
Sat, 9 Mar 2013 01:46:00 +0000 (20:46 -0500)
committerAlan T. DeKok <aland@freeradius.org>
Sat, 9 Mar 2013 18:11:05 +0000 (13:11 -0500)
src/include/missing-h

index e71e342fa115d6f0e7e5c05d4a27e2b644442a89..11d49bfe5f39873221363fde4ae592ca2ea20478 100644 (file)
@@ -66,10 +66,6 @@ RCSIDH(missing_h, "$Id$")
 #  include <stdarg.h>
 #endif
 
-#ifdef HAVE_SYS_LOCKING_H
-#  include <sys/locking.h>
-#endif
-
 #ifdef HAVE_ERRNO_H
 #  include <errno.h>
 #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