svn commit: samba r18327 - in
branches/SAMBA_4_0/source/lib/ldb/tools: .
tridge at samba.org
tridge at samba.org
Sun Sep 10 11:16:09 GMT 2006
Author: tridge
Date: 2006-09-10 11:16:09 +0000 (Sun, 10 Sep 2006)
New Revision: 18327
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=18327
Log:
'struct token' is defined on some hosts
Modified:
branches/SAMBA_4_0/source/lib/ldb/tools/oLschema2ldif.c
Changeset:
Modified: branches/SAMBA_4_0/source/lib/ldb/tools/oLschema2ldif.c
===================================================================
--- branches/SAMBA_4_0/source/lib/ldb/tools/oLschema2ldif.c 2006-09-10 10:58:15 UTC (rev 18326)
+++ branches/SAMBA_4_0/source/lib/ldb/tools/oLschema2ldif.c 2006-09-10 11:16:09 UTC (rev 18327)
@@ -57,7 +57,7 @@
int failures;
};
-struct token {
+struct schema_token {
int type;
char *value;
};
@@ -135,14 +135,14 @@
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 @@
{
TALLOC_CTX *ctx;
struct ldb_message *msg;
- struct token *token;
+ struct schema_token *token;
char *c, *s;
int n;
More information about the samba-cvs
mailing list