summaryrefslogtreecommitdiff
path: root/source3/utils
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2012-01-24 21:04:00 +0100
committerVolker Lendecke <vl@samba.org>2012-01-24 21:10:37 +0100
commit637838a1a93d876338eeb38225ad5251f6d41677 (patch)
tree864d9969225d162a6258f4e3d3a6ebc09b8c0447 /source3/utils
parentc19753bb1f9216dc6d89b267a89e7f7ac0156a85 (diff)
downloadsamba-637838a1a93d876338eeb38225ad5251f6d41677.tar.gz
samba-637838a1a93d876338eeb38225ad5251f6d41677.tar.bz2
samba-637838a1a93d876338eeb38225ad5251f6d41677.zip
s3: Remove a typedef
Diffstat (limited to 'source3/utils')
-rw-r--r--source3/utils/dbwrap_tool.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/utils/dbwrap_tool.c b/source3/utils/dbwrap_tool.c
index e178d5cc6e..cc0f1be6dc 100644
--- a/source3/utils/dbwrap_tool.c
+++ b/source3/utils/dbwrap_tool.c
@@ -28,7 +28,7 @@
#include "messages.h"
#include "util_tdb.h"
-typedef enum { OP_FETCH, OP_STORE, OP_DELETE, OP_ERASE, OP_LISTKEYS } dbwrap_op;
+enum dbwrap_op { OP_FETCH, OP_STORE, OP_DELETE, OP_ERASE, OP_LISTKEYS };
typedef enum { TYPE_INT32, TYPE_UINT32, TYPE_STRING, TYPE_HEX } dbwrap_type;
@@ -298,7 +298,7 @@ static int dbwrap_tool_listkeys(struct db_context *db,
}
struct dbwrap_op_dispatch_table {
- dbwrap_op op;
+ enum dbwrap_op op;
dbwrap_type type;
int (*cmd)(struct db_context *db,
const char *keyname,
@@ -330,7 +330,7 @@ int main(int argc, const char **argv)
const char *dbname;
const char *opname;
- dbwrap_op op;
+ enum dbwrap_op op;
const char *keyname = "";
const char *keytype = "int32";
dbwrap_type type;