summaryrefslogtreecommitdiff
path: root/source3/smbd/map_username.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/smbd/map_username.c')
-rw-r--r--source3/smbd/map_username.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source3/smbd/map_username.c b/source3/smbd/map_username.c
index f549f0c9f3..fde2a3c4d3 100644
--- a/source3/smbd/map_username.c
+++ b/source3/smbd/map_username.c
@@ -20,6 +20,7 @@
*/
#include "includes.h"
+#include "smbd/globals.h"
/*******************************************************************
Map a username from a dos name to a unix name by looking in the username
@@ -32,8 +33,6 @@
Returns True if username was changed, false otherwise.
********************************************************************/
-static char *last_from, *last_to;
-
static const char *get_last_from(void)
{
if (!last_from) {