summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/locking/shmem.c2
-rw-r--r--source3/script/mkproto.awk2
2 files changed, 2 insertions, 2 deletions
diff --git a/source3/locking/shmem.c b/source3/locking/shmem.c
index fcd9f3ad0d..fc8dfbb9f3 100644
--- a/source3/locking/shmem.c
+++ b/source3/locking/shmem.c
@@ -733,7 +733,7 @@ BOOL smb_shm_set_userdef_off(smb_shm_offset_t userdef_off)
return True;
}
-void * smb_shm_offset2addr(smb_shm_offset_t offset)
+void *smb_shm_offset2addr(smb_shm_offset_t offset)
{
if (offset == NULL_OFFSET )
return (void *)(0);
diff --git a/source3/script/mkproto.awk b/source3/script/mkproto.awk
index 08b13d4610..88d81a62cd 100644
--- a/source3/script/mkproto.awk
+++ b/source3/script/mkproto.awk
@@ -64,7 +64,7 @@ BEGIN {
next;
}
-!/^unsigned|^mode_t|^DIR|^user|^int|^char|^uint|^struct|^BOOL|^void|^time|^shm_offset_t/ {
+!/^unsigned|^mode_t|^DIR|^user|^int|^char|^uint|^struct|^BOOL|^void|^time|^smb_shm_offset_t|^shm_offset_t/ {
next;
}