]> arthur.barton.de Git - netatalk.git/blobdiff - libatalk/adouble/ad_private.h
Spelling fix in log message: continous -> continuous
[netatalk.git] / libatalk / adouble / ad_private.h
index 6cd19b005d832bef30ac7955c08ffeac2ed69918..82a11aa12606543b9f9e4b00c89cfd743d9dbd39 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: ad_private.h,v 1.3 2002-08-16 08:07:57 didg Exp $
+ * $Id: ad_private.h,v 1.6 2008-12-03 18:35:44 didg Exp $
  */
 
 #ifndef LIBATALK_ADOUBLE_AD_PRIVATE_H
 #define MAP_FAILED ((void *) -1)
 #endif /* ! MAP_FAILED */
 
-#ifndef __inline__
-#define __inline__
-#endif /* ! __inline__ */
-
 /* this is so that we can keep lists of fds referencing the same file
  * around. that way, we can honor locks created by the same process
  * with the same file. */
-#ifdef USE_FLOCK_LOCKS
-#define adf_lock_init(a)
-#define adf_lock_free(a)
-#else /* USE_FLOCK_LOCKS */
 
 #define adf_lock_init(a) do { \
        (a)->adf_lockmax = (a)->adf_lockcount = 0; \
-       (a)->adf_lock = NULL; \
+       (a)->adf_excl = 0;(a)->adf_lock = NULL; \
 } while (0)
 
 #define adf_lock_free(a) do { \
@@ -39,6 +31,5 @@
        free((a)->adf_lock); \
        adf_lock_init(a); \
 } while (0)
-#endif /* USE_FLOCK_LOCKS */
 
 #endif /* libatalk/adouble/ad_private.h */