aboutsummaryrefslogtreecommitdiff
path: root/xorg-server
diff options
context:
space:
mode:
Diffstat (limited to 'xorg-server')
-rw-r--r--xorg-server/Xi/chgptr.h6
-rw-r--r--xorg-server/dix/enterleave.h8
-rw-r--r--xorg-server/dix/events.c2
-rw-r--r--xorg-server/dix/ptrveloc.c3
-rw-r--r--xorg-server/exa/exa.c3
-rw-r--r--xorg-server/hw/kdrive/src/kdrive.h3
-rw-r--r--xorg-server/hw/kdrive/src/kinput.c2
-rw-r--r--xorg-server/hw/xfree86/common/xf86xv.c1
-rw-r--r--xorg-server/hw/xfree86/common/xf86xvmc.c2
-rw-r--r--xorg-server/hw/xfree86/dixmods/extmod/xvmodproc.h4
-rw-r--r--xorg-server/include/dixevents.h7
-rw-r--r--xorg-server/include/input.h3
-rw-r--r--xorg-server/include/resource.h3
-rw-r--r--xorg-server/mi/miinitext.c59
-rw-r--r--xorg-server/miext/shadow/shrotpackYX.h3
-rw-r--r--xorg-server/randr/randrstr.h19
-rw-r--r--xorg-server/randr/rrtransform.h7
-rw-r--r--xorg-server/xfixes/region.c1
-rw-r--r--xorg-server/xkb/xkbAccessX.c1
-rw-r--r--xorg-server/xkb/xkbActions.c1
-rw-r--r--xorg-server/xkeyboard-config/symbols/fr2
21 files changed, 17 insertions, 123 deletions
diff --git a/xorg-server/Xi/chgptr.h b/xorg-server/Xi/chgptr.h
index 47265b3bc..275511ffc 100644
--- a/xorg-server/Xi/chgptr.h
+++ b/xorg-server/Xi/chgptr.h
@@ -39,10 +39,4 @@ int ProcXChangePointerDevice(ClientPtr /* client */
void DeleteFocusClassDeviceStruct(DeviceIntPtr /* dev */
);
-void SendEventToAllWindows(DeviceIntPtr /* dev */ ,
- Mask /* mask */ ,
- xEvent * /* ev */ ,
- int /* count */
- );
-
#endif /* CHGPTR_H */
diff --git a/xorg-server/dix/enterleave.h b/xorg-server/dix/enterleave.h
index c1729f8da..c937c0e7f 100644
--- a/xorg-server/dix/enterleave.h
+++ b/xorg-server/dix/enterleave.h
@@ -31,13 +31,12 @@
#ifndef ENTERLEAVE_H
#define ENTERLEAVE_H
+#include <dix.h> /* DoFocusEvents() */
+
extern void DoEnterLeaveEvents(DeviceIntPtr pDev,
int sourceid,
WindowPtr fromWin, WindowPtr toWin, int mode);
-extern void DoFocusEvents(DeviceIntPtr pDev,
- WindowPtr fromWin, WindowPtr toWin, int mode);
-
extern void EnterLeaveEvent(DeviceIntPtr mouse,
int type,
int mode, int detail, WindowPtr pWin, Window child);
@@ -61,9 +60,6 @@ extern void LeaveWindow(DeviceIntPtr dev);
extern void CoreFocusEvent(DeviceIntPtr kbd,
int type, int mode, int detail, WindowPtr pWin);
-extern void DeviceFocusEvent(DeviceIntPtr kbd,
- int type, int mode, int detail, WindowPtr pWin);
-
extern void SetFocusIn(DeviceIntPtr kbd, WindowPtr win);
extern void SetFocusOut(DeviceIntPtr dev);
diff --git a/xorg-server/dix/events.c b/xorg-server/dix/events.c
index 6d5f67586..47c61d42b 100644
--- a/xorg-server/dix/events.c
+++ b/xorg-server/dix/events.c
@@ -349,8 +349,6 @@ IsFloating(DeviceIntPtr dev)
*/
extern int lastEvent;
-extern int DeviceMotionNotify;
-
#define CantBeFiltered NoEventMask
/**
* Event masks for each event type.
diff --git a/xorg-server/dix/ptrveloc.c b/xorg-server/dix/ptrveloc.c
index fb5f19d69..8c266af8c 100644
--- a/xorg-server/dix/ptrveloc.c
+++ b/xorg-server/dix/ptrveloc.c
@@ -70,10 +70,7 @@
#endif
/* fwds */
-int
- SetAccelerationProfile(DeviceVelocityPtr vel, int profile_num);
static double
-
SimpleSmoothProfile(DeviceIntPtr dev, DeviceVelocityPtr vel, double velocity,
double threshold, double acc);
static PointerAccelerationProfileFunc
diff --git a/xorg-server/exa/exa.c b/xorg-server/exa/exa.c
index 754c8305a..e22f2f022 100644
--- a/xorg-server/exa/exa.c
+++ b/xorg-server/exa/exa.c
@@ -483,9 +483,6 @@ static void
exaCopyClip(GCPtr pGCDst, GCPtr pGCSrc);
static void
- exaCopyClip(GCPtr pGCDst, GCPtr pGCSrc);
-
-static void
exaDestroyClip(GCPtr pGC);
const GCFuncs exaGCFuncs = {
diff --git a/xorg-server/hw/kdrive/src/kdrive.h b/xorg-server/hw/kdrive/src/kdrive.h
index 4125307f3..c20a0846a 100644
--- a/xorg-server/hw/kdrive/src/kdrive.h
+++ b/xorg-server/hw/kdrive/src/kdrive.h
@@ -552,9 +552,6 @@ void
KdEnableInput(void);
void
- ProcessInputEvents(void);
-
-void
KdRingBell(KdKeyboardInfo * ki, int volume, int pitch, int duration);
/* kmode.c */
diff --git a/xorg-server/hw/kdrive/src/kinput.c b/xorg-server/hw/kdrive/src/kinput.c
index 0cb890ed2..0f2a4ae0f 100644
--- a/xorg-server/hw/kdrive/src/kinput.c
+++ b/xorg-server/hw/kdrive/src/kinput.c
@@ -725,8 +725,6 @@ KdKbdCtrl(DeviceIntPtr pDevice, KeybdCtrl * ctrl)
ki->bellDuration = ctrl->bell_duration;
}
-extern KeybdCtrl defaultKeyboardControl;
-
static int
KdKeyboardProc(DeviceIntPtr pDevice, int onoff)
{
diff --git a/xorg-server/hw/xfree86/common/xf86xv.c b/xorg-server/hw/xfree86/common/xf86xv.c
index 88e2f314b..0e5b0cf0f 100644
--- a/xorg-server/hw/xfree86/common/xf86xv.c
+++ b/xorg-server/hw/xfree86/common/xf86xv.c
@@ -51,7 +51,6 @@
#include <X11/extensions/Xv.h>
#include <X11/extensions/Xvproto.h>
#include "xvdix.h"
-#include "xvmodproc.h"
#include "xf86xvpriv.h"
diff --git a/xorg-server/hw/xfree86/common/xf86xvmc.c b/xorg-server/hw/xfree86/common/xf86xvmc.c
index e58465289..7321efa43 100644
--- a/xorg-server/hw/xfree86/common/xf86xvmc.c
+++ b/xorg-server/hw/xfree86/common/xf86xvmc.c
@@ -40,8 +40,6 @@
#include "resource.h"
#include "dixstruct.h"
-#include "xvmodproc.h"
-
#include "xf86xvpriv.h"
#include "xf86xvmc.h"
diff --git a/xorg-server/hw/xfree86/dixmods/extmod/xvmodproc.h b/xorg-server/hw/xfree86/dixmods/extmod/xvmodproc.h
index be51e559d..009054760 100644
--- a/xorg-server/hw/xfree86/dixmods/extmod/xvmodproc.h
+++ b/xorg-server/hw/xfree86/dixmods/extmod/xvmodproc.h
@@ -3,6 +3,8 @@
#include <dix-config.h>
#endif
+#ifndef XVMODPROC_H
+#define XVMODPROC_H
#include "xvmcext.h"
extern DevPrivateKey (*XvGetScreenKeyProc) (void);
@@ -11,3 +13,5 @@ extern int (*XvScreenInitProc) (ScreenPtr);
extern int (*XvMCScreenInitProc) (ScreenPtr, int, XvMCAdaptorPtr);
extern void XvRegister(void);
+
+#endif /* XVMODPROC_H */
diff --git a/xorg-server/include/dixevents.h b/xorg-server/include/dixevents.h
index c8f384ea5..d4729697c 100644
--- a/xorg-server/include/dixevents.h
+++ b/xorg-server/include/dixevents.h
@@ -77,11 +77,4 @@ extern _X_EXPORT int ProcUngrabButton(ClientPtr /* client */ );
extern _X_EXPORT int ProcRecolorCursor(ClientPtr /* client */ );
-#ifdef PANORAMIX
-extern _X_EXPORT void PostSyntheticMotion(DeviceIntPtr pDev,
- int x,
- int y,
- int screen, unsigned long time);
-#endif
-
#endif /* DIXEVENTS_H */
diff --git a/xorg-server/include/input.h b/xorg-server/include/input.h
index 991d64813..bcf98a63e 100644
--- a/xorg-server/include/input.h
+++ b/xorg-server/include/input.h
@@ -472,6 +472,9 @@ extern _X_EXPORT int GetProximityEvents(InternalEvent *events,
extern _X_EXPORT void QueueProximityEvents(DeviceIntPtr pDev,
int type, const ValuatorMask *mask);
+#ifdef PANORAMIX
+_X_EXPORT
+#endif
extern void PostSyntheticMotion(DeviceIntPtr pDev,
int x, int y, int screen, unsigned long time);
diff --git a/xorg-server/include/resource.h b/xorg-server/include/resource.h
index 02db6d80a..3719242bf 100644
--- a/xorg-server/include/resource.h
+++ b/xorg-server/include/resource.h
@@ -180,9 +180,6 @@ typedef void (*FindTypeSubResources)(pointer /* value */,
FindAllRes /* func */,
pointer /* cdata */);
-extern _X_EXPORT void SetResourceTypeErrorValue(RESTYPE /*type */ ,
- int /*errorValue */ );
-
extern _X_EXPORT SizeType GetResourceTypeSizeFunc(
RESTYPE /*type*/);
diff --git a/xorg-server/mi/miinitext.c b/xorg-server/mi/miinitext.c
index 462bcfff5..823a946a7 100644
--- a/xorg-server/mi/miinitext.c
+++ b/xorg-server/mi/miinitext.c
@@ -93,64 +93,6 @@ SOFTWARE.
#include "micmap.h"
#include "globals.h"
-extern Bool noTestExtensions;
-
-#ifdef COMPOSITE
-extern Bool noCompositeExtension;
-#endif
-#ifdef DBE
-extern Bool noDbeExtension;
-#endif
-#ifdef DPMSExtension
-extern Bool noDPMSExtension;
-#endif
-#ifdef GLXEXT
-extern Bool noGlxExtension;
-#endif
-#ifdef SCREENSAVER
-extern Bool noScreenSaverExtension;
-#endif
-#ifdef MITSHM
-extern Bool noMITShmExtension;
-#endif
-#ifdef RANDR
-extern Bool noRRExtension;
-#endif
-extern Bool noRenderExtension;
-
-#ifdef XCSECURITY
-extern Bool noSecurityExtension;
-#endif
-#ifdef RES
-extern Bool noResExtension;
-#endif
-#ifdef XF86BIGFONT
-extern Bool noXFree86BigfontExtension;
-#endif
-#ifdef XFreeXDGA
-extern Bool noXFree86DGAExtension;
-#endif
-#ifdef XF86DRI
-extern Bool noXFree86DRIExtension;
-#endif
-#ifdef XF86VIDMODE
-extern Bool noXFree86VidModeExtension;
-#endif
-#ifdef XFIXES
-extern Bool noXFixesExtension;
-#endif
-#ifdef PANORAMIX
-extern Bool noPanoramiXExtension;
-#endif
-#ifdef INXQUARTZ
-extern Bool noPseudoramiXExtension;
-#endif
-#ifdef XSELINUX
-extern Bool noSELinuxExtension;
-#endif
-#ifdef XV
-extern Bool noXvExtension;
-#endif
extern Bool noGEExtension;
#ifndef XFree86LOADER
@@ -265,7 +207,6 @@ extern void DamageExtensionInit(INITARGS);
#ifdef COMPOSITE
extern void CompositeExtensionInit(INITARGS);
#endif
-extern void GEExtensionInit(INITARGS);
/* The following is only a small first step towards run-time
* configurable extensions.
diff --git a/xorg-server/miext/shadow/shrotpackYX.h b/xorg-server/miext/shadow/shrotpackYX.h
index 57fcf22fa..f3df6c549 100644
--- a/xorg-server/miext/shadow/shrotpackYX.h
+++ b/xorg-server/miext/shadow/shrotpackYX.h
@@ -54,9 +54,6 @@
#endif
void
- FUNC(ScreenPtr pScreen, shadowBufPtr pBuf);
-
-void
FUNC(ScreenPtr pScreen, shadowBufPtr pBuf)
{
RegionPtr damage = shadowDamage(pBuf);
diff --git a/xorg-server/randr/randrstr.h b/xorg-server/randr/randrstr.h
index 273885de7..1c0e9d4db 100644
--- a/xorg-server/randr/randrstr.h
+++ b/xorg-server/randr/randrstr.h
@@ -575,25 +575,6 @@ extern _X_EXPORT void
RRCrtcGetScanoutSize(RRCrtcPtr crtc, int *width, int *height);
/*
- * Compute the complete transformation matrix including
- * client-specified transform, rotation/reflection values and the crtc
- * offset.
- *
- * Return TRUE if the resulting transform is not a simple translation.
- */
-extern _X_EXPORT Bool
-
-RRTransformCompute(int x,
- int y,
- int width,
- int height,
- Rotation rotation,
- RRTransformPtr rr_transform,
- PictTransformPtr transform,
- struct pict_f_transform *f_transform,
- struct pict_f_transform *f_inverse);
-
-/*
* Return crtc transform
*/
extern _X_EXPORT RRTransformPtr RRCrtcGetTransform(RRCrtcPtr crtc);
diff --git a/xorg-server/randr/rrtransform.h b/xorg-server/randr/rrtransform.h
index efce7e0d7..2269b4cb7 100644
--- a/xorg-server/randr/rrtransform.h
+++ b/xorg-server/randr/rrtransform.h
@@ -57,6 +57,13 @@ RRTransformSetFilter(RRTransformPtr dst,
extern _X_EXPORT Bool
RRTransformCopy(RRTransformPtr dst, RRTransformPtr src);
+/*
+ * Compute the complete transformation matrix including
+ * client-specified transform, rotation/reflection values and the crtc
+ * offset.
+ *
+ * Return TRUE if the resulting transform is not a simple translation.
+ */
extern _X_EXPORT Bool
RRTransformCompute(int x,
diff --git a/xorg-server/xfixes/region.c b/xorg-server/xfixes/region.c
index 624109de1..0acbadae2 100644
--- a/xorg-server/xfixes/region.c
+++ b/xorg-server/xfixes/region.c
@@ -27,7 +27,6 @@
#include "xfixesint.h"
#include "scrnintstr.h"
#include <picturestr.h>
-extern int RenderErrBase;
#include <regionstr.h>
#include <gcstruct.h>
diff --git a/xorg-server/xkb/xkbAccessX.c b/xorg-server/xkb/xkbAccessX.c
index 111bf9f40..95e28e789 100644
--- a/xorg-server/xkb/xkbAccessX.c
+++ b/xorg-server/xkb/xkbAccessX.c
@@ -694,7 +694,6 @@ AccessXFilterReleaseEvent(DeviceEvent *event, DeviceIntPtr keybd)
/* */
/************************************************************************/
extern int xkbDevicePrivateIndex;
-extern void xkbUnwrapProc(DeviceIntPtr, DeviceHandleProc, pointer);
void
ProcessPointerEvent(InternalEvent *ev, DeviceIntPtr mouse)
{
diff --git a/xorg-server/xkb/xkbActions.c b/xorg-server/xkb/xkbActions.c
index 323886274..c1edeea55 100644
--- a/xorg-server/xkb/xkbActions.c
+++ b/xorg-server/xkb/xkbActions.c
@@ -47,7 +47,6 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE.
DevPrivateKeyRec xkbDevicePrivateKeyRec;
-void XkbFakeDeviceButton(DeviceIntPtr dev, Bool press, int button);
static void XkbFakePointerMotion(DeviceIntPtr dev, unsigned flags, int x,
int y);
diff --git a/xorg-server/xkeyboard-config/symbols/fr b/xorg-server/xkeyboard-config/symbols/fr
index 0bf0be217..85bcd5564 100644
--- a/xorg-server/xkeyboard-config/symbols/fr
+++ b/xorg-server/xkeyboard-config/symbols/fr
@@ -810,7 +810,7 @@ xkb_symbols "bre" {
partial alphanumeric_keys
xkb_symbols "oci" {
- include "keypad(oss)"
+ include "fr(oss)"
name[Group1]= "Occitan";