]> arthur.barton.de Git - netatalk.git/blobdiff - etc/afpd/main.c
Back-port from trunk: warning fixes.
[netatalk.git] / etc / afpd / main.c
index eb416cc448a124d0d685ea8a3538fb4f6ee4fd23..4e314c0f473e0e725006ae7aacb3625bbb5dee9d 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: main.c,v 1.12.2.1 2001-12-03 05:01:04 jmarcus Exp $
+ * $Id: main.c,v 1.12.2.2 2002-01-02 17:27:50 srittau Exp $
  *
  * Copyright (c) 1990,1993 Regents of The University of Michigan.
  * All Rights Reserved.  See COPYRIGHT.
@@ -63,6 +63,11 @@ static char **argv = NULL;
 
 unsigned char  nologin = 0;
 
+#ifdef DID_MTAB
+/* global mount table; afpd_st_cnid uses this to lookup the right entry.  */
+static struct afpd_mount_table *afpd_mount_table = NULL;
+#endif /* DID_MTAB */
+
 struct afp_options default_options;
 static AFPConfig *configs;
 static server_child *server_children;