diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2007-12-20 00:02:15 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2007-12-21 05:52:06 +0100 |
commit | 0500b87092540d300b4e021a0fb95ce16a44fbd2 (patch) | |
tree | d8ff9774916e84dbc568f77edd4925b1f6b51735 /source4/dsdb/samdb/ldb_modules/objectclass.c | |
parent | 3e75f222bcdf114238cc4f2bcc61332dc059135f (diff) | |
download | samba-0500b87092540d300b4e021a0fb95ce16a44fbd2.tar.gz samba-0500b87092540d300b4e021a0fb95ce16a44fbd2.tar.bz2 samba-0500b87092540d300b4e021a0fb95ce16a44fbd2.zip |
r26540: Revert my previous commit after concerns raised by Andrew.
(This used to be commit 6ac86f8be7d9a8c5ab396a93e6d1e6819e11f173)
Diffstat (limited to 'source4/dsdb/samdb/ldb_modules/objectclass.c')
-rw-r--r-- | source4/dsdb/samdb/ldb_modules/objectclass.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source4/dsdb/samdb/ldb_modules/objectclass.c b/source4/dsdb/samdb/ldb_modules/objectclass.c index 44a940f97b..da5cae1c65 100644 --- a/source4/dsdb/samdb/ldb_modules/objectclass.c +++ b/source4/dsdb/samdb/ldb_modules/objectclass.c @@ -361,7 +361,7 @@ static int fix_attributes(struct ldb_context *ldb, const struct dsdb_schema *sch static int objectclass_add(struct ldb_module *module, struct ldb_request *req) { - const char * const attrs[] = { NULL }; + static const char * const attrs[] = { NULL }; struct ldb_handle *h; struct oc_context *ac; @@ -748,7 +748,7 @@ static int objectclass_search_self(struct ldb_handle *h) { int ret; struct oc_context *ac; - const char * const attrs[] = { "objectClass", NULL }; + static const char * const attrs[] = { "objectClass", NULL }; ac = talloc_get_type(h->private_data, struct oc_context); @@ -865,7 +865,7 @@ static int objectclass_do_mod(struct ldb_handle *h) { static int objectclass_rename(struct ldb_module *module, struct ldb_request *req) { - const char * const attrs[] = { NULL }; + static const char * const attrs[] = { NULL }; struct ldb_handle *h; struct oc_context *ac; |