summaryrefslogtreecommitdiff
path: root/Xext/xace.h
diff options
context:
space:
mode:
authorEamon Walsh <ewalsh@tycho.nsa.gov>2008-12-18 12:35:57 -0500
committerEamon Walsh <ewalsh@tycho.nsa.gov>2008-12-18 12:39:08 -0500
commit777408914dbf395e9969e3f34720286e6f740369 (patch)
tree75e17887324b0778c84c3d54ad9d8a8d20719cf7 /Xext/xace.h
parent9e4ef3cfe5ee178c266edd64a8edd767827aa0d7 (diff)
Add xace headers to the SDK when enabled and export the XaceHooks symbol
to modules.
Diffstat (limited to 'Xext/xace.h')
-rw-r--r--Xext/xace.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/Xext/xace.h b/Xext/xace.h
index 1aaab0333..542b1574a 100644
--- a/Xext/xace.h
+++ b/Xext/xace.h
@@ -61,19 +61,19 @@ extern CallbackListPtr XaceHooks[XACE_NUM_HOOKS];
/* Entry point for hook functions. Called by Xserver.
* Required by libdbe and libextmod
*/
-extern _X_EXPORT int XaceHook(
+_X_EXPORT int XaceHook(
int /*hook*/,
... /*appropriate args for hook*/
);
/* Special-cased hook functions
*/
-extern int XaceHookDispatch(ClientPtr ptr, int major);
-extern int XaceHookPropertyAccess(ClientPtr ptr, WindowPtr pWin,
- PropertyPtr *ppProp, Mask access_mode);
-extern int XaceHookSelectionAccess(ClientPtr ptr,
+int XaceHookDispatch(ClientPtr ptr, int major);
+int XaceHookPropertyAccess(ClientPtr ptr, WindowPtr pWin,
+ PropertyPtr *ppProp, Mask access_mode);
+int XaceHookSelectionAccess(ClientPtr ptr,
Selection **ppSel, Mask access_mode);
-extern void XaceHookAuditEnd(ClientPtr ptr, int result);
+void XaceHookAuditEnd(ClientPtr ptr, int result);
/* Register a callback for a given hook.
*/
@@ -89,7 +89,7 @@ extern void XaceHookAuditEnd(ClientPtr ptr, int result);
/* From the original Security extension...
*/
-extern void XaceCensorImage(
+void XaceCensorImage(
ClientPtr client,
RegionPtr pVisibleRegion,
long widthBytesLine,