summaryrefslogtreecommitdiff
path: root/source4/auth
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2003-11-23 01:53:54 +0000
committerAndrew Tridgell <tridge@samba.org>2003-11-23 01:53:54 +0000
commitd47d14f2ffc7a6d2cc306530b777f364767998b3 (patch)
tree5ff4972c9bea1a5104a2aac2986f2331db96d101 /source4/auth
parent7ab05c2ffa87c962a38a9ac90fa5705d93516a57 (diff)
downloadsamba-d47d14f2ffc7a6d2cc306530b777f364767998b3.tar.gz
samba-d47d14f2ffc7a6d2cc306530b777f364767998b3.tar.bz2
samba-d47d14f2ffc7a6d2cc306530b777f364767998b3.zip
reduced the number of magic types we need in mkproto.pl
In general I prefer "struct foo" to just "foo" for most structures. There are exceptions. (This used to be commit 04eb12b56c653f98801ab29411f47564ab32fa58)
Diffstat (limited to 'source4/auth')
-rw-r--r--source4/auth/auth_util.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/auth/auth_util.c b/source4/auth/auth_util.c
index 7096361913..580b96142e 100644
--- a/source4/auth/auth_util.c
+++ b/source4/auth/auth_util.c
@@ -618,7 +618,7 @@ static NTSTATUS create_nt_user_token(const DOM_SID *user_sid, const DOM_SID *gro
Create the SID list for this user.
****************************************************************************/
-NT_USER_TOKEN *create_nt_token(uid_t uid, gid_t gid, int ngroups, gid_t *groups, BOOL is_guest)
+struct nt_user_token *create_nt_token(uid_t uid, gid_t gid, int ngroups, gid_t *groups, BOOL is_guest)
{
DOM_SID user_sid;
DOM_SID group_sid;
@@ -1169,7 +1169,7 @@ void delete_nt_token(NT_USER_TOKEN **pptoken)
Duplicate a SID token.
****************************************************************************/
-NT_USER_TOKEN *dup_nt_token(NT_USER_TOKEN *ptoken)
+struct nt_user_token *dup_nt_token(NT_USER_TOKEN *ptoken)
{
NT_USER_TOKEN *token;