summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2009-07-29 14:21:03 +0200
committerMichael Adam <obnox@samba.org>2009-07-29 16:26:21 +0200
commitaa4e5a32a7ee3e71fc0b69ad7e8bd44b57c9273d (patch)
tree8711bb89200379936e511cc19e9432601d911032 /source3/include
parentded0ce8345b99e9d5e0cfaea7cee58648baea4b7 (diff)
downloadsamba-aa4e5a32a7ee3e71fc0b69ad7e8bd44b57c9273d.tar.gz
samba-aa4e5a32a7ee3e71fc0b69ad7e8bd44b57c9273d.tar.bz2
samba-aa4e5a32a7ee3e71fc0b69ad7e8bd44b57c9273d.zip
s3:dbwrap: change dbwrap_change_int32_atomic() to return NTSTATUS not int32.
Michael
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/proto.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index ebeb5658f2..6d9c35beb0 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -442,8 +442,8 @@ bool dbwrap_fetch_uint32(struct db_context *db, const char *keystr,
int dbwrap_store_uint32(struct db_context *db, const char *keystr, uint32_t v);
NTSTATUS dbwrap_change_uint32_atomic(struct db_context *db, const char *keystr,
uint32_t *oldval, uint32_t change_val);
-int32 dbwrap_change_int32_atomic(struct db_context *db, const char *keystr,
- int32 *oldval, int32 change_val);
+NTSTATUS dbwrap_change_int32_atomic(struct db_context *db, const char *keystr,
+ int32 *oldval, int32 change_val);
NTSTATUS dbwrap_trans_store(struct db_context *db, TDB_DATA key, TDB_DATA dbuf,
int flag);
NTSTATUS dbwrap_trans_delete(struct db_context *db, TDB_DATA key);