From dc919c25343211b25ed8c55577bc5451791cbde4 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Mon, 28 May 2007 21:04:59 +0000 Subject: r23175: Handle PKG_CONFIG_PATH not set yet - fixes warning in selftest.pl (This used to be commit 222acbe33b427a6ccae3b9e27b545f22e4564d5c) --- source4/script/mkproto.pl | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'source4/script/mkproto.pl') diff --git a/source4/script/mkproto.pl b/source4/script/mkproto.pl index ea2e5acd45..1df53dffbb 100755 --- a/source4/script/mkproto.pl +++ b/source4/script/mkproto.pl @@ -180,10 +180,10 @@ sub process_file($$$) } next unless ( $is_public || $line =~ / - ^void|^BOOL|^bool|^int|^struct|^char|^const|^\w+_[tT]\s|^uint|^unsigned|^long| - ^NTSTATUS|^ADS_STATUS|^enum\s.*\(|^DATA_BLOB|^WERROR|^XFILE|^FILE|^DIR| - ^double|^TDB_CONTEXT|^TDB_DATA|^TALLOC_CTX|^NTTIME|^FN_|^init_module| - ^GtkWidget|^GType|^smb_ucs2_t|^krb5_error_code + (_DEPRECATED_ )?^(void|BOOL|bool|int|struct|char|const|\w+_[tT]\s|uint|unsigned|long|NTSTATUS| + ADS_STATUS|enum\s.*\(|DATA_BLOB|WERROR|XFILE|FILE|DIR| + double|TDB_CONTEXT|TDB_DATA|TALLOC_CTX|NTTIME|FN_|init_module| + GtkWidget|GType|smb_ucs2_t|krb5_error_code) /xo); next if ($line =~ /^int\s*main/); -- cgit