X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=servers%2Fslapd%2Fback-bdb%2Fnextid.c;h=fe62acb8b5f6e870d27cda11e55dadb3b79d828f;hb=3bf9998d7885ef6bbc4690d4229e5cb5068a35de;hp=a42280707987c4e7b1806b1d1cb2ac46dd330fdd;hpb=89912db91ee00475cbbfffc255fa7ff83dc1c50f;p=openldap diff --git a/servers/slapd/back-bdb/nextid.c b/servers/slapd/back-bdb/nextid.c index a422807079..fe62acb8b5 100644 --- a/servers/slapd/back-bdb/nextid.c +++ b/servers/slapd/back-bdb/nextid.c @@ -2,7 +2,7 @@ /* $OpenLDAP$ */ /* This work is part of OpenLDAP Software . * - * Copyright 2000-2004 The OpenLDAP Foundation. + * Copyright 2000-2008 The OpenLDAP Foundation. * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -21,7 +21,7 @@ #include "back-bdb.h" -int bdb_next_id( BackendDB *be, DB_TXN *tid, ID *out ) +int bdb_next_id( BackendDB *be, ID *out ) { struct bdb_info *bdb = (struct bdb_info *) be->be_private; @@ -35,7 +35,7 @@ int bdb_next_id( BackendDB *be, DB_TXN *tid, ID *out ) int bdb_last_id( BackendDB *be, DB_TXN *tid ) { struct bdb_info *bdb = (struct bdb_info *) be->be_private; - int i, rc; + int rc; ID id = 0; unsigned char idbuf[sizeof(ID)]; DBT key, data;