added a new type to mkproto.awk so it can handle shmem.c
authorAndrew Tridgell <tridge@samba.org>
Thu, 28 Aug 1997 02:22:44 +0000 (02:22 +0000)
committerAndrew Tridgell <tridge@samba.org>
Thu, 28 Aug 1997 02:22:44 +0000 (02:22 +0000)
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)

source3/locking/shmem.c
source3/script/mkproto.awk

index fcd9f3ad0d703635cb068fbec52730f962bdc2c0..fc8dfbb9f39928611e0a5fbfa8570af781b08532 100644 (file)
@@ -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);
index 08b13d4610806e84491ae484db15885246f92dbf..88d81a62cd9eba8eeff689256bb40257bc32685c 100644 (file)
@@ -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;
 }