summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>1997-08-28 02:22:44 +0000
committerAndrew Tridgell <tridge@samba.org>1997-08-28 02:22:44 +0000
commit22e4d4e9d44577593d53ad84e77c9c078774d2e9 (patch)
tree629f5eee591b4dfb21f3947c6adcb10bc78654ba /source3
parent7971fb1febc67a845cde6bbb9b92842aa0a283ce (diff)
downloadsamba-22e4d4e9d44577593d53ad84e77c9c078774d2e9.tar.gz
samba-22e4d4e9d44577593d53ad84e77c9c078774d2e9.tar.bz2
samba-22e4d4e9d44577593d53ad84e77c9c078774d2e9.zip
added a new type to mkproto.awk so it can handle shmem.c
in general if you add a new type that is returned by a non-static function then just add it to the list of known types in mkproto.awk (This used to be commit 1d4ce07435f3d6dac41a2616a044bcd441dbaced)
Diffstat (limited to 'source3')
-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;
}