mirror of
https://github.com/samba-team/samba.git
synced 2025-02-07 01:58:28 +03:00
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 commit is contained in:
parent
c7a4647b7a
commit
1d4ce07435
@ -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);
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user