aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>1998-01-24 16:32:27 +0000
committerWerner Koch <[email protected]>1998-01-24 16:32:27 +0000
commitd71f8bce7e73b41c1d19d2dae6396ea8eace9c07 (patch)
tree89854e6434a270ad627f4f4011385a7739f8f3df /include
parentbackup (diff)
downloadgnupg-d71f8bce7e73b41c1d19d2dae6396ea8eace9c07.tar.gz
gnupg-d71f8bce7e73b41c1d19d2dae6396ea8eace9c07.zip
Trust stuff works partly.
Diffstat (limited to 'include')
-rw-r--r--include/iobuf.h2
-rw-r--r--include/util.h4
2 files changed, 4 insertions, 2 deletions
diff --git a/include/iobuf.h b/include/iobuf.h
index e381445a5..81e23f267 100644
--- a/include/iobuf.h
+++ b/include/iobuf.h
@@ -54,7 +54,7 @@ struct iobuf_struct {
IOBUF chain; /* next iobuf used for i/o if any (passed to filter) */
int no, subno;
const char *desc;
- void *opaque; /* can be used to old any information */
+ void *opaque; /* can be used to hold any information */
/* this value is copied to all instances */
};
diff --git a/include/util.h b/include/util.h
index a33b7f21f..fe834e1a2 100644
--- a/include/util.h
+++ b/include/util.h
@@ -121,7 +121,9 @@ char *stpcpy(char *a,const char *b);
#ifndef HAVE_STRLWR
char *strlwr(char *a);
#endif
-
+#ifndef HAVE_STRTOUL
+ #define strtoul(a,b,c) ((unsigned long)strtol((a),(b),(c)))
+#endif
/******** some macros ************/
#ifndef STR