1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-23 07:19:15 +00:00
emacs/oldXMenu
Michal Nazarewicz aeeb86c99d 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>
2017-02-15 16:54:06 +01:00
..
Activate.c Update copyright year to 2017 2016-12-31 19:42:26 -08:00
AddPane.c Add double-buffering support to reduce flicker 2016-10-28 19:21:39 -07:00
AddSel.c Add double-buffering support to reduce flicker 2016-10-28 19:21:39 -07:00
ChangeLog.1 Update copyright year to 2017 2016-12-31 19:42:26 -08:00
ChgPane.c oldXMenu: add missing #include <string.h> 2017-02-15 16:54:06 +01:00
ChgSel.c oldXMenu: add missing #include <string.h> 2017-02-15 16:54:06 +01:00
copyright.h
Create.c oldXMenu: add missing #include <string.h> 2017-02-15 16:54:06 +01:00
DelPane.c
DelSel.c
deps.mk Update copyright year to 2017 2016-12-31 19:42:26 -08:00
Destroy.c
Error.c
EvHand.c
FindPane.c
FindSel.c Update copyright year to 2017 2016-12-31 19:42:26 -08:00
InsPane.c oldXMenu: add missing #include <string.h> 2017-02-15 16:54:06 +01:00
insque.c Update copyright year to 2017 2016-12-31 19:42:26 -08:00
InsSel.c oldXMenu: add missing #include <string.h> 2017-02-15 16:54:06 +01:00
Internal.c Update copyright year to 2017 2016-12-31 19:42:26 -08:00
Locate.c
Makefile.in Merge from origin/emacs-25 2017-01-01 01:10:47 -08:00
Post.c
README
Recomp.c
SetAEQ.c
SetFrz.c
SetPane.c
SetSel.c
X10.h
XCrAssoc.c Add double-buffering support to reduce flicker 2016-10-28 19:21:39 -07:00
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.