fixed compiler warnings under Solaris 2.7
This commit is contained in:
parent
1b97128b47
commit
216c26cceb
2 changed files with 4 additions and 0 deletions
1
config.c
1
config.c
|
@ -24,6 +24,7 @@
|
||||||
#include <pwd.h>
|
#include <pwd.h>
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
#include <stdlib.h>
|
||||||
#include "isync.h"
|
#include "isync.h"
|
||||||
|
|
||||||
static config_t *box = 0;
|
static config_t *box = 0;
|
||||||
|
|
3
imap.c
3
imap.c
|
@ -222,6 +222,9 @@ socket_perror (const char *func, Socket_t *sock, int ret)
|
||||||
}
|
}
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
#else
|
||||||
|
(void) sock;
|
||||||
|
(void) ret;
|
||||||
#endif
|
#endif
|
||||||
perror (func);
|
perror (func);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue