summaryrefslogtreecommitdiff
path: root/source3/script/mkproto.awk
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>1999-06-13 04:15:30 +0000
committerTim Potter <tpot@samba.org>1999-06-13 04:15:30 +0000
commitcae193606d6f625010d39d528b8523d3652e485a (patch)
treea1a57721a0502097b1fa69f2576cb0fb143046aa /source3/script/mkproto.awk
parent731c7f2ecfe17651506ba05b88358360e4654a37 (diff)
downloadsamba-cae193606d6f625010d39d528b8523d3652e485a.tar.gz
samba-cae193606d6f625010d39d528b8523d3652e485a.tar.bz2
samba-cae193606d6f625010d39d528b8523d3652e485a.zip
Modified to cope with functions that return a const something.
(This used to be commit 56738ec5263edba23d8337dde27e7da45ec06490)
Diffstat (limited to 'source3/script/mkproto.awk')
-rw-r--r--source3/script/mkproto.awk2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/script/mkproto.awk b/source3/script/mkproto.awk
index fab3529243..c35883aec0 100644
--- a/source3/script/mkproto.awk
+++ b/source3/script/mkproto.awk
@@ -98,7 +98,7 @@ END {
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|dbg_Token/ ) {
+ if( $0 ~ /^const|^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|dbg_Token/ ) {
gotstart = 1;
}
if(!gotstart) {