aboutsummaryrefslogtreecommitdiffstats
path: root/g10/tdbdump.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>1999-05-22 20:54:54 +0000
committerWerner Koch <[email protected]>1999-05-22 20:54:54 +0000
commit9131432b4d17af907b9a235985864f1e88f571ff (patch)
tree64a60b3115ee1bfcba806c4b07919c6819e0c702 /g10/tdbdump.c
parentSee ChangeLog: Thu May 20 14:04:08 CEST 1999 Werner Koch (diff)
downloadgnupg-9131432b4d17af907b9a235985864f1e88f571ff.tar.gz
gnupg-9131432b4d17af907b9a235985864f1e88f571ff.zip
See ChangeLog: Sat May 22 22:47:26 CEST 1999 Werner Koch
Diffstat (limited to 'g10/tdbdump.c')
-rw-r--r--g10/tdbdump.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/g10/tdbdump.c b/g10/tdbdump.c
index f2b4ca9f8..1d1808466 100644
--- a/g10/tdbdump.c
+++ b/g10/tdbdump.c
@@ -50,6 +50,7 @@
* Read a record but die if it does not exist
* fixme: duplicate: remove it
*/
+#if 0
static void
read_record( ulong recno, TRUSTREC *rec, int rectype )
{
@@ -60,7 +61,7 @@ read_record( ulong recno, TRUSTREC *rec, int rectype )
recno, rectype, g10_errstr(rc) );
tdbio_invalid();
}
-
+#endif
/****************
* Wirte a record but die on error
*/
@@ -89,7 +90,7 @@ do_sync(void)
g10_exit(2);
}
-
+#if 0
static int
print_sigflags( FILE *fp, unsigned flags )
{
@@ -105,7 +106,7 @@ print_sigflags( FILE *fp, unsigned flags )
fputs("---", fp);
return 3;
}
-
+#endif
/****************
@@ -119,6 +120,7 @@ print_sigflags( FILE *fp, unsigned flags )
* Returns: 0 - okay, -1 for eof (no more sigs) or any other errorcode
* FIXME: Do we really need this large and complicated function?
*/
+#if 0
static int
walk_sigrecs( SIGREC_CONTEXT *c )
{
@@ -168,7 +170,7 @@ walk_sigrecs( SIGREC_CONTEXT *c )
c->sig_flag = r->r.sig.sig[c->ctl.index-1].flag;
return 0;
}
-
+#endif
#if 0
static int