1
0
mirror of https://github.com/samba-team/samba.git synced 2025-09-10 05:44:20 +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:
Andrew Tridgell
-
parent c7a4647b7a
commit 1d4ce07435
2 changed files with 2 additions and 2 deletions

View File

@@ -733,7 +733,7 @@ BOOL smb_shm_set_userdef_off(smb_shm_offset_t userdef_off)
return True; return True;
} }
void * smb_shm_offset2addr(smb_shm_offset_t offset) void *smb_shm_offset2addr(smb_shm_offset_t offset)
{ {
if (offset == NULL_OFFSET ) if (offset == NULL_OFFSET )
return (void *)(0); return (void *)(0);

View File

@@ -64,7 +64,7 @@ BEGIN {
next; 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; next;
} }