aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobert Varga <nite@hq.sk>2016-02-10 15:57:23 +0100
committerRobert Varga <nite@hq.sk>2016-02-10 16:29:30 +0100
commit40223daf5ed332032ed9dbca06a35864575d3595 (patch)
tree55d4197a081c7bf86d263dceea4051f0f05c2071
parentf0f54d8b7c6d1fbfb202cfa84a0ff21ac0fa47c1 (diff)
Remove strcasecmp(3) declaration
This should be coming from string.h. Change-Id: Id88bb1d2a4681a9dcf6db9c7de2580a5219869d1 Signed-off-by: Robert Varga <nite@hq.sk>
-rw-r--r--vpp-japi/japi/vppjni.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vpp-japi/japi/vppjni.c b/vpp-japi/japi/vppjni.c
index af0d64cd15c..f7c297fc99b 100644
--- a/vpp-japi/japi/vppjni.c
+++ b/vpp-japi/japi/vppjni.c
@@ -12,6 +12,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
+#define _GNU_SOURCE /* for strcasestr(3) */
#include <vnet/vnet.h>
#define vl_api_version(n,v) static u32 vpe_api_version = (v);
@@ -476,7 +477,6 @@ JNIEXPORT jstring JNICALL Java_org_openvpp_vppjapi_vppConn_getInterfaceList0
name_sort_t * nses = 0, * ns;
const char *this_name;
u8 * s = 0;
- char *strcasestr (const char *, const char *);
const char * nf = (*env)->GetStringUTFChars (env, name_filter, NULL);
if (!nf)
return NULL;