aboutsummaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
Diffstat (limited to 'util')
-rw-r--r--util/ChangeLog8
-rw-r--r--util/fileutil.c4
-rw-r--r--util/secmem.c2
3 files changed, 14 insertions, 0 deletions
diff --git a/util/ChangeLog b/util/ChangeLog
index 88c7eb105..fb596f34b 100644
--- a/util/ChangeLog
+++ b/util/ChangeLog
@@ -1,3 +1,11 @@
+2002-09-12 Stefan Bellon <[email protected]>
+
+ * fileutil.c (make_filename): Removed variable for RISC OS to
+ avoid compiler warning.
+
+ * secmem.c: Removed static variable for RISC OS to avoid
+ compiler warning.
+
2002-09-11 Werner Koch <[email protected]>
* simple-gettext.c: Disable charset mappings. We do it now when
diff --git a/util/fileutil.c b/util/fileutil.c
index 76eacfb80..c2a2a9df2 100644
--- a/util/fileutil.c
+++ b/util/fileutil.c
@@ -99,7 +99,11 @@ make_filename( const char *first_part, ... )
va_list arg_ptr ;
size_t n;
const char *s;
+#ifndef __riscos__
char *name, *home, *p;
+#else
+ char *name, *p;
+#endif
va_start( arg_ptr, first_part ) ;
n = strlen(first_part)+1;
diff --git a/util/secmem.c b/util/secmem.c
index 90fffd505..d077fed17 100644
--- a/util/secmem.c
+++ b/util/secmem.c
@@ -66,7 +66,9 @@ struct memblock_struct {
static void *pool;
static volatile int pool_okay; /* may be checked in an atexit function */
+#ifdef HAVE_MMAP
static volatile int pool_is_mmapped;
+#endif
static size_t poolsize; /* allocated length */
static size_t poollen; /* used length */
static MEMBLOCK *unused_blocks;