summaryrefslogtreecommitdiff
path: root/source3/script/mkproto.awk
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2001-04-28 13:49:34 +0000
committerAndrew Tridgell <tridge@samba.org>2001-04-28 13:49:34 +0000
commitd095b5249cf9e1496ad5a3d6b5acb77af2c587a7 (patch)
treecc944131907e5244c9f72c80adb6e478ed36bbb8 /source3/script/mkproto.awk
parent944aeb7de472e0654561f7d8f37a5703487a973e (diff)
downloadsamba-d095b5249cf9e1496ad5a3d6b5acb77af2c587a7.tar.gz
samba-d095b5249cf9e1496ad5a3d6b5acb77af2c587a7.tar.bz2
samba-d095b5249cf9e1496ad5a3d6b5acb77af2c587a7.zip
- added test for vasprintf
- cleaned up GNUC printf attribute macros - added enum handling in mkproto - removed non-vararg code - made slprintf and vslprintf just macros for snprintf and vsnprintf - don't need slprintf code any more (This used to be commit c7aeb2254dfc3cd0aa0b6c0bdd426f9323be0ddf)
Diffstat (limited to 'source3/script/mkproto.awk')
-rw-r--r--source3/script/mkproto.awk4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/script/mkproto.awk b/source3/script/mkproto.awk
index c66fe07972..13ff399da0 100644
--- a/source3/script/mkproto.awk
+++ b/source3/script/mkproto.awk
@@ -112,11 +112,11 @@ END {
gotstart = 1;
}
- if( $0 ~ /^TDB_CONTEXT|^TDB_DATA|^smb_ucs2_t|^TALLOC_CTX|^hash_element|^NT_DEVICEMODE|^enum nss_status|^NT_USER_TOKEN|^SAM_ACCOUNT/ ) {
+ if( $0 ~ /^TDB_CONTEXT|^TDB_DATA|^smb_ucs2_t|^TALLOC_CTX|^hash_element|^NT_DEVICEMODE|^enum.*\(|^NT_USER_TOKEN|^SAM_ACCOUNT/ ) {
gotstart = 1;
}
- if( $0 ~ /^long|^char|^uint|^struct|^BOOL|^void|^time|^smb_shm_offset_t|^shm_offset_t|^enum remote_arch_types|^FILE|^SMB_OFF_T|^size_t|^ssize_t|^SMB_BIG_UINT/ ) {
+ if( $0 ~ /^long|^char|^uint|^struct|^BOOL|^void|^time|^smb_shm_offset_t|^shm_offset_t|^FILE|^SMB_OFF_T|^size_t|^ssize_t|^SMB_BIG_UINT/ ) {
gotstart = 1;
}