]> arthur.barton.de Git - netatalk.git/blobdiff - etc/uams/uams_guest.c
Merge remote-tracking branch 'origin/branch-netatalk-3-1'
[netatalk.git] / etc / uams / uams_guest.c
index 7a2482d6ca50fb57071806d2c701561aaede3d53..baaf9eb2e611560d4360dc713905acb767fc73fd 100644 (file)
@@ -1,5 +1,4 @@
 /*
- * $Id: uams_guest.c,v 1.18 2009-11-08 01:07:17 didg Exp $
  *
  * (c) 2001 (see COPYING)
  */
@@ -18,6 +17,7 @@
 #include <atalk/afp.h>
 #include <atalk/uam.h>
 #include <atalk/util.h>
+#include <atalk/compat.h>
 
 #ifndef MIN
 #define MIN(a,b) ((a) < (b) ? (a) : (b))
@@ -121,7 +121,7 @@ static int noauth_printer(char *start, char *stop, char *username, struct papfil
 }
 
 
-static int uam_setup(const char *path)
+static int uam_setup(void *handle, const char *path)
 {
   if (uam_register(UAM_SERVER_LOGIN_EXT, path, "No User Authent",
                    noauth_login, NULL, NULL, noauth_login_ext) < 0)