summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/dlinklist.h4
-rw-r--r--source3/include/smb.h4
2 files changed, 6 insertions, 2 deletions
diff --git a/source3/include/dlinklist.h b/source3/include/dlinklist.h
index 851bf01d38..447948b521 100644
--- a/source3/include/dlinklist.h
+++ b/source3/include/dlinklist.h
@@ -52,5 +52,7 @@
/* promote an element to the top of the list */
#define DLIST_PROMOTE(list, p) \
+{ \
DLIST_REMOVE(list, p) \
- DLIST_ADD(list, p)
+ DLIST_ADD(list, p) \
+}
diff --git a/source3/include/smb.h b/source3/include/smb.h
index 756737af1d..300fd9872a 100644
--- a/source3/include/smb.h
+++ b/source3/include/smb.h
@@ -1608,8 +1608,10 @@ struct ncacn_np
#include "rpc_secdes.h"
#include "nt_printing.h"
-typedef struct
+typedef struct user_struct
{
+ struct user_struct *next, *prev;
+ uint16 vuid; /* Tag for this entry. */
uid_t uid; /* uid of a validated user */
gid_t gid; /* gid of a validated user */