]> git.eshelyaron.com Git - emacs.git/commit
oldXMenu: add missing #include <string.h>
authorMichal Nazarewicz <mina86@mina86.com>
Fri, 10 Feb 2017 18:14:39 +0000 (19:14 +0100)
committerMichal Nazarewicz <mina86@mina86.com>
Wed, 15 Feb 2017 15:54:06 +0000 (16:54 +0100)
commitaeeb86c99d8f25793393324c4e826a23b38b6c3c
tree7a9c2b740dde142d5aa053143c19dff9e41737b2
parente6041a05a0ab51c5d600459e4aca67837070a96a
oldXMenu: add missing #include <string.h>

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 <string.h>’.

oldXMenu/ChgPane.c, oldXMenu/ChgSel.c, oldXMenu/Create.c, oldXMenu/InsPane.c,
oldXMenu/InsSel.c: add missing #include <string.h>
oldXMenu/ChgPane.c
oldXMenu/ChgSel.c
oldXMenu/Create.c
oldXMenu/InsPane.c
oldXMenu/InsSel.c