From f658414c5f6a0a92e4ceddf2f094a0216e460ab5 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sun, 10 Sep 2006 11:16:09 +0000 Subject: r18327: 'struct token' is defined on some hosts (This used to be commit b2bba4e7261e4daf2be44110c454eb0e217836ca) --- source4/lib/ldb/tools/oLschema2ldif.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/source4/lib/ldb/tools/oLschema2ldif.c b/source4/lib/ldb/tools/oLschema2ldif.c index f734e99683..a9e157e323 100644 --- a/source4/lib/ldb/tools/oLschema2ldif.c +++ b/source4/lib/ldb/tools/oLschema2ldif.c @@ -57,7 +57,7 @@ struct schema_conv { int failures; }; -struct token { +struct schema_token { int type; char *value; }; @@ -135,14 +135,14 @@ static char *get_def_value(TALLOC_CTX *ctx, char **string) return value; } -static struct token *get_next_schema_token(TALLOC_CTX *ctx, char **string) +static struct schema_token *get_next_schema_token(TALLOC_CTX *ctx, char **string) { char *c = skip_spaces(*string); char *type; - struct token *token; + struct schema_token *token; int n; - token = talloc(ctx, struct token); + token = talloc(ctx, struct schema_token); n = strcspn(c, " \t\n"); type = talloc_strndup(token, c, n); @@ -333,7 +333,7 @@ static struct ldb_message *process_entry(TALLOC_CTX *mem_ctx, const char *entry) { TALLOC_CTX *ctx; struct ldb_message *msg; - struct token *token; + struct schema_token *token; char *c, *s; int n; -- cgit