projects
/
mmh
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
gcc was warning about unused arguments to main, so added use of them in a usage check.
[mmh]
/
uip
/
mhstore.c
diff --git
a/uip/mhstore.c
b/uip/mhstore.c
index
7b44a96
..
2646ba6
100644
(file)
--- a/
uip/mhstore.c
+++ b/
uip/mhstore.c
@@
-20,10
+20,6
@@
#include <h/mhcachesbr.h>
#include <h/utils.h>
#include <h/mhcachesbr.h>
#include <h/utils.h>
-#ifdef HAVE_SYS_WAIT_H
-# include <sys/wait.h>
-#endif
-
static struct swit switches[] = {
#define AUTOSW 0
{ "auto", 0 },
static struct swit switches[] = {
#define AUTOSW 0
{ "auto", 0 },
@@
-106,7
+102,7
@@
void freects_done (int) NORETURN;
/*
* static prototypes
*/
/*
* static prototypes
*/
-static RETSIGTYPE pipeser (int);
+static void pipeser (int);
int
int
@@
-296,7
+292,7
@@
do_cache:
adios (NULL, "out of memory");
ctp = cts;
adios (NULL, "out of memory");
ctp = cts;
- if ((ct = parse_mime (file)));
+ if ((ct = parse_mime (file)))
*ctp++ = ct;
} else {
/*
*ctp++ = ct;
} else {
/*
@@
-387,7
+383,7
@@
do_cache:
}
}
-static RETSIGTYPE
+static void
pipeser (int i)
{
if (i == SIGQUIT) {
pipeser (int i)
{
if (i == SIGQUIT) {