summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2011-03-24 15:33:39 +1100
committerAndrew Tridgell <tridge@samba.org>2011-03-25 04:37:06 +0100
commitbfce962c8f5219e72a07810a663a14542355927d (patch)
tree99f28d83bb8f95490cc37826759f11003a7300c2 /lib
parent2588e7180974d11a1e9cad19542bfcbfc30a1918 (diff)
downloadsamba-bfce962c8f5219e72a07810a663a14542355927d.tar.gz
samba-bfce962c8f5219e72a07810a663a14542355927d.tar.bz2
samba-bfce962c8f5219e72a07810a663a14542355927d.zip
tdb: rename convert_string() to tdb_convert_string()
this prevents a conflict with the convert_string() in samba
Diffstat (limited to 'lib')
-rw-r--r--lib/tdb/tools/tdbtool.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/tdb/tools/tdbtool.c b/lib/tdb/tools/tdbtool.c
index 3511dc1e56..cd17f79e32 100644
--- a/lib/tdb/tools/tdbtool.c
+++ b/lib/tdb/tools/tdbtool.c
@@ -693,7 +693,7 @@ static int do_command(void)
return 0;
}
-static char *convert_string(char *instring, size_t *sizep)
+static char *tdb_convert_string(char *instring, size_t *sizep)
{
size_t length = 0;
char *outp, *inp;
@@ -759,15 +759,15 @@ int main(int argc, char *argv[])
}
}
}
- if (arg1) arg1 = convert_string(arg1,&arg1len);
- if (arg2) arg2 = convert_string(arg2,&arg2len);
+ if (arg1) arg1 = tdb_convert_string(arg1,&arg1len);
+ if (arg2) arg2 = tdb_convert_string(arg2,&arg2len);
if (do_command()) break;
}
break;
case 5:
- arg2 = convert_string(argv[4],&arg2len);
+ arg2 = tdb_convert_string(argv[4],&arg2len);
case 4:
- arg1 = convert_string(argv[3],&arg1len);
+ arg1 = tdb_convert_string(argv[3],&arg1len);
case 3:
cmdname = argv[2];
default: