]> arthur.barton.de Git - netatalk.git/blobdiff - libatalk/adouble/ad_private.h
remove gcc warnings and cleanup inline mess
[netatalk.git] / libatalk / adouble / ad_private.h
index 1ae494ef73bf54327b88b791a1cf984faab4958d..771ec32482080e10e8dfaea583415dea0024e40d 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: ad_private.h,v 1.4 2002-11-14 17:15:23 srittau Exp $
+ * $Id: ad_private.h,v 1.5.8.1 2008-11-25 15:16:34 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. */
 
 #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 { \