diff options
author | Simo Sorce <idra@samba.org> | 2006-07-03 15:49:23 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:09:45 -0500 |
commit | a3f606f6cab58e7e15f8a4f6a05a7437dc0569c8 (patch) | |
tree | f83c19770920ef5b9323fb6962ee72741e1ccbb0 /source4/lib/ldb | |
parent | af04a37ce79cfa7ba912f30fd28965cd568eb4e4 (diff) | |
download | samba-a3f606f6cab58e7e15f8a4f6a05a7437dc0569c8.tar.gz samba-a3f606f6cab58e7e15f8a4f6a05a7437dc0569c8.tar.bz2 samba-a3f606f6cab58e7e15f8a4f6a05a7437dc0569c8.zip |
r16784: - make some function in ldb static, they not need to be exported anywhere
- fix a bad segfault
Andrew please make test before committing.
Simo.
(This used to be commit b9b6bb3e89d3b0e04ccce15156c1a128b6f20d88)
Diffstat (limited to 'source4/lib/ldb')
-rw-r--r-- | source4/lib/ldb/common/ldb.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source4/lib/ldb/common/ldb.c b/source4/lib/ldb/common/ldb.c index 1022f422c0..5228eeb6b3 100644 --- a/source4/lib/ldb/common/ldb.c +++ b/source4/lib/ldb/common/ldb.c @@ -294,7 +294,7 @@ int ldb_transaction_cancel(struct ldb_context *ldb) return ldb_transaction_cancel_internal(ldb); } -int ldb_autotransaction_start(struct ldb_context *ldb) +static int ldb_autotransaction_start(struct ldb_context *ldb) { /* explicit transaction active, ignore autotransaction request */ if (ldb->transaction_active) @@ -303,7 +303,7 @@ int ldb_autotransaction_start(struct ldb_context *ldb) return ldb_transaction_start_internal(ldb); } -int ldb_autotransaction_commit(struct ldb_context *ldb) +static int ldb_autotransaction_commit(struct ldb_context *ldb) { /* explicit transaction active, ignore autotransaction request */ if (ldb->transaction_active) @@ -312,7 +312,7 @@ int ldb_autotransaction_commit(struct ldb_context *ldb) return ldb_transaction_commit_internal(ldb); } -int ldb_autotransaction_cancel(struct ldb_context *ldb) +static int ldb_autotransaction_cancel(struct ldb_context *ldb) { /* explicit transaction active, ignore autotransaction request */ if (ldb->transaction_active) |