summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2009-09-11 15:16:03 +0200
committerMichael Adam <obnox@samba.org>2009-09-11 15:31:28 +0200
commit085c07b7431c7b96b30d29e3753dbd5fa71ff9ce (patch)
treef8c3441824589228cf9881a6a43cc95e2f57da9e
parent636f8b5e5b4c8c42edb626a6bd7ef497477237d7 (diff)
downloadsamba-085c07b7431c7b96b30d29e3753dbd5fa71ff9ce.tar.gz
samba-085c07b7431c7b96b30d29e3753dbd5fa71ff9ce.tar.bz2
samba-085c07b7431c7b96b30d29e3753dbd5fa71ff9ce.zip
tevent:mksigs: normalize bool -> _Bool
Michael
-rwxr-xr-xlib/tevent/script/mksigs.pl3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/tevent/script/mksigs.pl b/lib/tevent/script/mksigs.pl
index bd76a04a26..a34950b09a 100755
--- a/lib/tevent/script/mksigs.pl
+++ b/lib/tevent/script/mksigs.pl
@@ -176,5 +176,8 @@ while (my $LINE = <>) {
# normalize unsigned
$LINE =~ s/([\s,\(])unsigned([,\)])/$1unsigned int$2/g;
+ # normalize bool
+ $LINE =~ s/(\b)bool(\b)/_Bool/g;
+
print $LINE . "\n";
}