diff options
author | Volker Lendecke <vl@samba.org> | 2010-06-27 15:36:38 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2010-08-28 12:28:53 +0200 |
commit | 0f83aa865090bfaf06add6a9e8b7215ab1db7d95 (patch) | |
tree | 2e3b2a96d2c73aca228b822a63415c829f4e89e3 /source3/include | |
parent | 520c5aae40ce882b8c5c020eb728d4198106d6b7 (diff) | |
download | samba-0f83aa865090bfaf06add6a9e8b7215ab1db7d95.tar.gz samba-0f83aa865090bfaf06add6a9e8b7215ab1db7d95.tar.bz2 samba-0f83aa865090bfaf06add6a9e8b7215ab1db7d95.zip |
s3: Remove the dependency of g_lock on procid_self
procid_self() references global vars, don't depend on them unnecessarily
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/g_lock.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/include/g_lock.h b/source3/include/g_lock.h index becb71bb67..40922308a1 100644 --- a/source3/include/g_lock.h +++ b/source3/include/g_lock.h @@ -44,7 +44,7 @@ NTSTATUS g_lock_get(struct g_lock_ctx *ctx, const char *name, struct server_id *pid); NTSTATUS g_lock_do(const char *name, enum g_lock_type lock_type, - struct timeval timeout, + struct timeval timeout, struct server_id self, void (*fn)(void *private_data), void *private_data); int g_lock_locks(struct g_lock_ctx *ctx, |