Browse Source

Fixed warnings

Moved to 2.7
pull/215/head
Luca Deri 5 years ago
parent
commit
b73f146d9b
  1. 4
      autogen.sh
  2. 2
      edge.c
  3. 4
      sn.c

4
autogen.sh

@ -2,8 +2,8 @@
# NOTE: update version in CMakeLists.txt after changing these
N2N_MAJOR="2"
N2N_MINOR="5"
N2N_PATCH="1"
N2N_MINOR="7"
N2N_PATCH="0"
N2N_VERSION_SHORT="$N2N_MAJOR.$N2N_MINOR.$N2N_PATCH"

2
edge.c

@ -598,6 +598,7 @@ static void daemonize() {
static int keep_on_running;
#ifdef __linux__
#ifdef WIN32
BOOL WINAPI term_handler(DWORD sig)
#else
@ -619,6 +620,7 @@ static void term_handler(int sig)
return(TRUE);
#endif
}
#endif
/* *************************************************** */

4
sn.c

@ -913,6 +913,7 @@ static int loadFromFile(const char *path, n2n_sn_t *sss) {
/* *************************************************** */
#ifdef __linux__
static void dump_registrations(int signo) {
struct sn_community *comm, *ctmp;
struct peer_info *list, *tmp;
@ -941,11 +942,13 @@ static void dump_registrations(int signo) {
traceEvent(TRACE_NORMAL, "====================================");
}
#endif
/* *************************************************** */
static int keep_running;
#ifdef __linux__
#ifdef WIN32
BOOL WINAPI term_handler(DWORD sig)
#else
@ -967,6 +970,7 @@ static void term_handler(int sig)
return(TRUE);
#endif
}
#endif
/* *************************************************** */

Loading…
Cancel
Save