Some minor corrections with includes etc.

This commit is contained in:
Gerhard Rieger 2016-12-10 16:21:46 +01:00
parent d2f748f0bb
commit 6f48016ed8
4 changed files with 4 additions and 3 deletions

View file

@ -12,6 +12,8 @@ corrections:
Socat hung when configured with --disable-sycls. Socat hung when configured with --disable-sycls.
Some minor corrections with includes etc.
porting: porting:
Type conflict between int and sig_atomic_t between declaration and Type conflict between int and sig_atomic_t between declaration and
definition of diag_immediate_type and diag_immediate_exit broke definition of diag_immediate_type and diag_immediate_exit broke

View file

@ -14,9 +14,9 @@
#include "snprinterr.h" #include "snprinterr.h"
#include "error.h" #include "error.h"
#include "sysincludes.h"
#include "sycls.h" #include "sycls.h"
/* translate MSG level to SYSLOG level */ /* translate MSG level to SYSLOG level */
int syslevel[] = { int syslevel[] = {
LOG_DEBUG, LOG_DEBUG,

View file

@ -17,7 +17,6 @@
#include "hostan.h" #include "hostan.h"
#include "error.h"
static int iffan(FILE *outfile); static int iffan(FILE *outfile);

View file

@ -711,7 +711,7 @@ int xiosetenv(const char *varname, const char *value, int overwrite, const char
l += 1; l += 1;
strncat(envname+l, varname, XIO_ENVNAMELEN-l-1); strncat(envname+l, varname, XIO_ENVNAMELEN-l-1);
return _xiosetenv(envname, value, overwrite, sep); return _xiosetenv(envname, value, overwrite, sep);
# undef ENVNAMELEN # undef XIO_ENVNAMELEN
} }
int xiosetenv2(const char *varname, const char *varname2, const char *value, int xiosetenv2(const char *varname, const char *varname2, const char *value,