bt_put can set the key, now, no longer const arg
authorKeith Bostic <bostic@ucbvax.Berkeley.EDU>
Sat, 14 Nov 1992 08:04:59 +0000 (00:04 -0800)
committerKeith Bostic <bostic@ucbvax.Berkeley.EDU>
Sat, 14 Nov 1992 08:04:59 +0000 (00:04 -0800)
SCCS-vsn: lib/libc/db/btree/extern.h 5.4

usr/src/lib/libc/db/btree/extern.h

index 68cffbb..6dd05c3 100644 (file)
@@ -4,7 +4,7 @@
  *
  * %sccs.include.redist.c%
  *
  *
  * %sccs.include.redist.c%
  *
- *     @(#)extern.h    5.3 (Berkeley) %G%
+ *     @(#)extern.h    5.4 (Berkeley) %G%
  */
 
 int     __bt_close __P((DB *));
  */
 
 int     __bt_close __P((DB *));
@@ -22,7 +22,7 @@ DB    *__bt_open __P((const char *, int, int, const BTREEINFO *));
 void    __bt_pgin __P((void *, pgno_t, void *));
 void    __bt_pgout __P((void *, pgno_t, void *));
 int     __bt_push __P((BTREE *, pgno_t, int));
 void    __bt_pgin __P((void *, pgno_t, void *));
 void    __bt_pgout __P((void *, pgno_t, void *));
 int     __bt_push __P((BTREE *, pgno_t, int));
-int     __bt_put __P((const DB *dbp, const DBT *, const DBT *, u_int));
+int     __bt_put __P((const DB *dbp, DBT *, const DBT *, u_int));
 int     __bt_ret __P((BTREE *, EPG *, DBT *, DBT *));
 EPG    *__bt_search __P((BTREE *, const DBT *, int *));
 int     __bt_seq __P((const DB *, DBT *, DBT *, u_int));
 int     __bt_ret __P((BTREE *, EPG *, DBT *, DBT *));
 EPG    *__bt_search __P((BTREE *, const DBT *, int *));
 int     __bt_seq __P((const DB *, DBT *, DBT *, u_int));