summaryrefslogtreecommitdiff
path: root/lib/tdb/script
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:31 +0200
commitcfa4e7ec7540d1100649839a10968303189fe929 (patch)
tree8add8421f752adbe6b5088279f1cc561e3fabe86 /lib/tdb/script
parent25939a627f15b7a21110767d47be0f50f32d3943 (diff)
downloadsamba-cfa4e7ec7540d1100649839a10968303189fe929.tar.gz
samba-cfa4e7ec7540d1100649839a10968303189fe929.tar.bz2
samba-cfa4e7ec7540d1100649839a10968303189fe929.zip
tdb:mksigs: normalize bool -> _Bool
Michael
Diffstat (limited to 'lib/tdb/script')
-rwxr-xr-xlib/tdb/script/mksigs.pl3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/tdb/script/mksigs.pl b/lib/tdb/script/mksigs.pl
index bd76a04a26..a34950b09a 100755
--- a/lib/tdb/script/mksigs.pl
+++ b/lib/tdb/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";
}