Removed all warnings/errors. Cpompiles now with -Werror.

FossilOrigin-Name: d3b91405f851ff89c4cc19dcd07bfe3af3799e375ad07011d61da5e70aa576ec
This commit is contained in:
7u83@mail.ru
2015-04-26 12:17:40 +00:00
parent 6988c41f71
commit 44bbe2a828
4 changed files with 12 additions and 5 deletions

View File

@ -38,13 +38,14 @@
#include "db.h"
#include "capwap/capwap_items.h"
#include "capwap/capwap_cisco.h"
#include "capwap/capwap_80211.h"
#include "ac.h"
#include "capwap/format.h"
int ac_run();
void alive_thread(void *data)
void * alive_thread(void *data)
{
while(1){
sleep(5);
@ -183,7 +184,7 @@ int main (int argc, const char * argv[])
db_start();
db_ping();
pthread_t alth;
pthread_create (&alth, NULL, alive_thread, (void *)0);
pthread_create (&alth, NULL, alive_thread, NULL);
int rc=0;
dtls_init();