summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2009-12-17 00:13:23 +0100
committerGünther Deschner <gd@samba.org>2009-12-17 15:40:42 +0100
commita23084e1e89a44cf692f6e205263ee53371b80c9 (patch)
treeffe128ab5737220a82095c452447c7b7d26b90b1
parenteb7ff9220db04ebafda2e76d49d69c71ea0d3be9 (diff)
downloadsamba-a23084e1e89a44cf692f6e205263ee53371b80c9.tar.gz
samba-a23084e1e89a44cf692f6e205263ee53371b80c9.tar.bz2
samba-a23084e1e89a44cf692f6e205263ee53371b80c9.zip
tdbtool: avoid using c++ reserved words.
Guenther
-rw-r--r--lib/tdb/tools/tdbtool.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/tdb/tools/tdbtool.c b/lib/tdb/tools/tdbtool.c
index b380883e0a..2ba7efc8ab 100644
--- a/lib/tdb/tools/tdbtool.c
+++ b/lib/tdb/tools/tdbtool.c
@@ -538,9 +538,9 @@ static void next_record(TDB_CONTEXT *the_tdb, TDB_DATA *pkey)
print_rec(the_tdb, *pkey, dbuf, NULL);
}
-static int count(TDB_DATA key, TDB_DATA data, void *private)
+static int count(TDB_DATA key, TDB_DATA data, void *private_data)
{
- (*(unsigned int *)private)++;
+ (*(unsigned int *)private_data)++;
return 0;
}