]> arthur.barton.de Git - netatalk.git/blobdiff - libatalk/adouble/ad_mmap.c
Fixes and disable ad_tmplock
[netatalk.git] / libatalk / adouble / ad_mmap.c
index 6695deca7f654612155abcb4c50478e10d3646ac..a93ab5a502dfa64a7f826160457b4fa61d93b304 100644 (file)
@@ -1,6 +1,4 @@
 /*
- * $Id: ad_mmap.c,v 1.5 2005-04-28 20:49:52 bfernhomberg Exp $
- *
  * ad_mmap provides interfaces to memory mapped files. as this is the
  * case, we don't have to deal w/ temporary buffers such as
  * ad_data. the ad_mmap routines are designed to not interact w/ the
@@ -17,9 +15,9 @@
 #include <atalk/adouble.h>
 #include <string.h>
 
-#include "ad_private.h"
+#include "ad_lock.h"
 
-static __inline__ void *ad_mmap(const size_t length, const int prot,
+static void *ad_mmap(const size_t length, const int prot,
                                const int flags, const int fd, 
                                const off_t offset)
 {