projects
/
u
/
mdw
/
catacomb
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6abcf20
)
Ooops. key_discard doesn't return a value. Make the declaration reflect
author
mdw
<mdw>
Wed, 29 Jun 2005 10:10:41 +0000
(10:10 +0000)
committer
mdw
<mdw>
Wed, 29 Jun 2005 10:10:41 +0000
(10:10 +0000)
this!
key-io.c
patch
|
blob
|
blame
|
history
key.h
patch
|
blob
|
blame
|
history
diff --git
a/key-io.c
b/key-io.c
index
5f793d7
..
de66a83
100644
(file)
--- a/
key-io.c
+++ b/
key-io.c
@@
-457,7
+457,7
@@
int key_open(key_file *f, const char *file, unsigned how,
* Use: Frees all the key data, without writing changes.
*/
-
int
key_discard(key_file *f)
+
void
key_discard(key_file *f)
{
hash_base *b;
hash_iter i;
diff --git
a/key.h
b/key.h
index
aad448b
..
ff3f81d
100644
(file)
--- a/
key.h
+++ b/
key.h
@@
-240,7
+240,7
@@
extern int key_open(key_file */*f*/, const char */*file*/, unsigned /*how*/,
* Use: Frees all the key data, without writing changes.
*/
-extern
int
key_discard(key_file */*f*/);
+extern
void
key_discard(key_file */*f*/);
/* --- @key_close@ --- *
*