From aeeb86c99d8f25793393324c4e826a23b38b6c3c Mon Sep 17 00:00:00 2001 From: Michal Nazarewicz Date: Fri, 10 Feb 2017 19:14:39 +0100 Subject: oldXMenu: add missing #include MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Some of the files in oldXMenu use functions from string.h without including that header which results in compile warnings: ChgPane.c:46:5: warning: implicit declaration of function ‘strlen’ ChgPane.c:46:20: warning: incompatible implicit declaration of built-in function ‘strlen’ ChgSel.c:62:2: warning: implicit declaration of function ‘strlen’ ChgSel.c:62:17: warning: incompatible implicit declaration of built-in function ‘strlen’ Create.c:220:5: warning: implicit declaration of function ‘strcmp’ InsPane.c:65:5: warning: implicit declaration of function ‘strlen’ InsPane.c:65:20: warning: incompatible implicit declaration of built-in function ‘strlen’ InsSel.c:68:5: warning: implicit declaration of function ‘strlen’ InsSel.c:68:20: warning: incompatible implicit declaration of built-in function ‘strlen’ InsSel.c:75:5: warning: implicit declaration of function ‘strcmp’ Add the necessary ‘#include ’. oldXMenu/ChgPane.c, oldXMenu/ChgSel.c, oldXMenu/Create.c, oldXMenu/InsPane.c, oldXMenu/InsSel.c: add missing #include --- oldXMenu/InsPane.c | 1 + 1 file changed, 1 insertion(+) (limited to 'oldXMenu/InsPane.c') diff --git a/oldXMenu/InsPane.c b/oldXMenu/InsPane.c index d8470f3a5bf..da92f49aa77 100644 --- a/oldXMenu/InsPane.c +++ b/oldXMenu/InsPane.c @@ -15,6 +15,7 @@ */ #include "XMenuInt.h" +#include int XMenuInsertPane(register XMenu *menu, register int p_num, char *label, int active) -- cgit v1.2.3