From b670354c3f1c29345e4cf2e0c5a1e13e4d0fb5fb Mon Sep 17 00:00:00 2001
From: winckel <winckel@eurecom.fr>
Date: Wed, 4 Dec 2013 13:12:17 +0000
Subject: [PATCH] Fixd some warnings.

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4584 818b1a75-f10b-46b9-bf7c-635c3b92a50f
---
 openair-cn/S1AP/s1ap_eNB_management_procedures.c | 3 ---
 openair-cn/SCTP/sctp_common.h                    | 7 ++++---
 2 files changed, 4 insertions(+), 6 deletions(-)

diff --git a/openair-cn/S1AP/s1ap_eNB_management_procedures.c b/openair-cn/S1AP/s1ap_eNB_management_procedures.c
index ee91c67065..1d6ace218a 100644
--- a/openair-cn/S1AP/s1ap_eNB_management_procedures.c
+++ b/openair-cn/S1AP/s1ap_eNB_management_procedures.c
@@ -43,9 +43,6 @@
 
 s1ap_eNB_internal_data_t s1ap_eNB_internal_data;
 
-static int s1ap_eNB_generate_s1_setup_request(
-    s1ap_eNB_instance_t *instance_p, s1ap_eNB_mme_data_t *s1ap_mme_data_p);
-
 RB_GENERATE(s1ap_mme_map, s1ap_eNB_mme_data_s, entry, s1ap_eNB_compare_assoc_id);
 
 inline int s1ap_eNB_compare_assoc_id(
diff --git a/openair-cn/SCTP/sctp_common.h b/openair-cn/SCTP/sctp_common.h
index ffc2920ef2..c636c683ce 100644
--- a/openair-cn/SCTP/sctp_common.h
+++ b/openair-cn/SCTP/sctp_common.h
@@ -36,12 +36,13 @@
  *  @ingroup _sctp
  */
 
-#include <stdio.h>
-#include <stdint.h>
-
 #ifndef SCTP_COMMON_H_
 #define SCTP_COMMON_H_
 
+#include <stdio.h>
+#include <stdint.h>
+#include <sys/socket.h>
+
 #if defined(ENB_MODE)
 # include "UTIL/LOG/log.h"
 # define SCTP_ERROR(x, args...) LOG_E(SCTP, x, ##args)
-- 
GitLab