summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--source/locking/shmem.c2
-rw-r--r--source/script/mkproto.awk2
2 files changed, 2 insertions, 2 deletions
diff --git a/source/locking/shmem.c b/source/locking/shmem.c
index fcd9f3ad0d7..fc8dfbb9f39 100644
--- a/source/locking/shmem.c
+++ b/source/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/source/script/mkproto.awk b/source/script/mkproto.awk
index 08b13d46108..88d81a62cd9 100644
--- a/source/script/mkproto.awk
+++ b/source/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;
}