mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-28 07:45:00 +00:00
aeeb86c99d
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> |
||
---|---|---|
.. | ||
Activate.c | ||
AddPane.c | ||
AddSel.c | ||
ChangeLog.1 | ||
ChgPane.c | ||
ChgSel.c | ||
copyright.h | ||
Create.c | ||
DelPane.c | ||
DelSel.c | ||
deps.mk | ||
Destroy.c | ||
Error.c | ||
EvHand.c | ||
FindPane.c | ||
FindSel.c | ||
InsPane.c | ||
insque.c | ||
InsSel.c | ||
Internal.c | ||
Locate.c | ||
Makefile.in | ||
Post.c | ||
README | ||
Recomp.c | ||
SetAEQ.c | ||
SetFrz.c | ||
SetPane.c | ||
SetSel.c | ||
X10.h | ||
XCrAssoc.c | ||
XDelAssoc.c | ||
XDestAssoc.c | ||
XLookAssoc.c | ||
XMakeAssoc.c | ||
XMenu.h | ||
XMenuInt.h |
Most of the files in this directory are originally from the X11R2 XMenu library, distributed by MIT under the terms in the file copyright.h. As of Release 2 of the X Window System, Version 11 from MIT, the XMenu library is no longer supported. It is not used in any software supplied by MIT and its use is not encouraged. In X11R1, oldXMenu/ was found in the lib/ directory of the X11 source; but in X11R2 it was moved to contrib/. The following files are from the X11 oldXMenu/ directory: Activate.c AddPane.c AddSel.c ChgPane.c ChgSel.c Create.c DelPane.c DelSel.c Destroy.c Error.c EvHand.c FindPane.c FindSel.c InsPane.c InsSel.c Internal.c Locate.c Post.c Recomp.c SetAEQ.c SetFrz.c SetPane.c SetSel.c XMenu.h XMenuInt.h (renamed from "XMenuInternal.h") The following files are from the X11 oldX/ directory: X10.h XCrAssoc.c XDelAssoc.c XDestAssoc.c XLookAssoc.c XMakeAssoc.c This code is used by Emacs in the absence of an X-toolkit.