X-Git-Url: https://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=ccan%2Ftdb2%2Ftraverse.c;h=b79cc8b47e7c090e64ee12b69b225e8ba4b33f78;hp=14cdac65148fa05c419f0bd6a514806d99d2fc28;hb=0aa58f6e6017138a78ce4e86fb758732719acaca;hpb=a2083afe4b327a542649b719e88178279fb5dc88 diff --git a/ccan/tdb2/traverse.c b/ccan/tdb2/traverse.c index 14cdac65..b79cc8b4 100644 --- a/ccan/tdb2/traverse.c +++ b/ccan/tdb2/traverse.c @@ -1,7 +1,7 @@ - /* + /* Trivial Database 2: traverse function. Copyright (C) Rusty Russell 2010 - + This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either @@ -74,7 +74,7 @@ TDB_DATA tdb_firstkey(struct tdb_context *tdb) default: return tdb_null; } -} +} /* We lock twice, not very efficient. We could keep last key & tinfo cached. */ TDB_DATA tdb_nextkey(struct tdb_context *tdb, TDB_DATA key) @@ -97,4 +97,4 @@ TDB_DATA tdb_nextkey(struct tdb_context *tdb, TDB_DATA key) default: return tdb_null; } -} +}