summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2010-06-30 14:35:03 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2010-11-15 13:27:59 +1000
commitcc1254e564ae1ffade8cb5a502b713175f6f24f4 (patch)
tree3cff5b3eb70a1ed69da8656f5080fb2059975a03
parenta9d8097ca91a8077df6c0c42c0825111e61dd266 (diff)
Purge a bunch of unused Gen_Good_foo()
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-rw-r--r--xts5/src/libproto/DfltVals.c200
1 files changed, 6 insertions, 194 deletions
diff --git a/xts5/src/libproto/DfltVals.c b/xts5/src/libproto/DfltVals.c
index 30a7f006..7eecc7a2 100644
--- a/xts5/src/libproto/DfltVals.c
+++ b/xts5/src/libproto/DfltVals.c
@@ -133,212 +133,35 @@ SOFTWARE.
/*ARGSUSED*/
int
-Gen_Good_accelDenum (client) {
- return (0);
-}
-/*ARGSUSED*/
-int
-Gen_Good_accelNum (client) {
- return (0);
-}
-/*ARGSUSED*/
-int
-Gen_Good_backBlue (client) {
- return (0);
-}
-/*ARGSUSED*/
-int
-Gen_Good_backGreen (client) {
- return (0);
-}
-/*ARGSUSED*/
-int
-Gen_Good_backRed (client) {
- return (0);
-}
-/*ARGSUSED*/
-int
-Gen_Good_bitPlane (client) {
- return (0);
-}
-/*ARGSUSED*/
-int
-Gen_Good_blue (client) {
- return (0);
-}
-/*ARGSUSED*/
-int
-Gen_Good_colors (client) {
- return (0);
-}
-/*ARGSUSED*/
-int
-Gen_Good_contiguous (client) {
+Gen_Good_srcX (client) {
return (0);
}
/*ARGSUSED*/
int
-Gen_Good_count (client) {
+Gen_Good_srcY (client) {
return (0);
}
+
int
Gen_Good_depth (client) {
XstDisplay *dpy = Get_Display(client);
return (XstDefaultDepth(dpy, XstDefaultScreen(dpy)));
}
-/*ARGSUSED*/
-int
-Gen_Good_doAccel (client) {
- return (0);
-}
-/*ARGSUSED*/
-int
-Gen_Good_doThresh (client) {
- return (0);
-}
-/*ARGSUSED*/
-int
-Gen_Good_dstDrawable (client) {
- return (0);
-}
-/*ARGSUSED*/
-int
-Gen_Good_dstX (client) {
- return (0);
-}
-/*ARGSUSED*/
-int
-Gen_Good_dstY (client) {
- return (0);
-}
-/*ARGSUSED*/
-int
-Gen_Good_firstKeyCode (client) {
- return (0);
-}
-/*ARGSUSED*/
-int
-Gen_Good_foreBlue (client) {
- return (0);
-}
-/*ARGSUSED*/
-int
-Gen_Good_foreGreen (client) {
- return (0);
-}
-/*ARGSUSED*/
-int
-Gen_Good_foreRed (client) {
- return (0);
-}
-/*ARGSUSED*/
-int
-Gen_Good_green (client) {
- return (0);
-}
-/*ARGSUSED*/
-int
-Gen_Good_hostLength (client) {
- return (0);
-}
+
/*ARGSUSED*/
int
Gen_Good_id (client) {
return (0);
}
-/*ARGSUSED*/
-int
-Gen_Good_interval (client) {
- return (0);
-}
-/*ARGSUSED*/
-int
-Gen_Good_leftPad (client) {
- return (0);
-}
-/*ARGSUSED*/
-int
-Gen_Good_mask (client) {
- return (0);
-}
-/*ARGSUSED*/
-int
-Gen_Good_maskChar (client) {
- return (0);
-}
-/*ARGSUSED*/
-int
-Gen_Good_mid (client) {
- return (0);
-}
-/*ARGSUSED*/
-int
-Gen_Good_pixel (client) {
- return (0);
-}
-/*ARGSUSED*/
-int
-Gen_Good_planeMask (client) {
- return (0);
-}
-/*ARGSUSED*/
-int
-Gen_Good_planes (client) {
- return (0);
-}
-/*ARGSUSED*/
-int
-Gen_Good_red (client) {
- return(0);
-}
-/*ARGSUSED*/
-int
-Gen_Good_source (client) {
- return (0);
-}
-/*ARGSUSED*/
-int
-Gen_Good_sourceChar (client) {
- return (0);
-}
-/*ARGSUSED*/
-int
-Gen_Good_srcCmap (client) {
- return (0);
-}
-/*ARGSUSED*/
-int
-Gen_Good_srcDrawable (client) {
- return (0);
-}
-/*ARGSUSED*/
-int
-Gen_Good_srcX (client) {
- return (0);
-}
-/*ARGSUSED*/
-int
-Gen_Good_srcY (client) {
- return (0);
-}
-/*ARGSUSED*/
-int
-Gen_Good_threshold (client) {
- return (0);
-}
+
/*ARGSUSED*/
int
Gen_Good_time (client) {
return (0);
}
-/*ARGSUSED*/
-int
-Gen_Good_timeout (client) {
- return (0);
-}
/*
- * Routine: Gen_Good_Visual - return the resource ID for the client's
+ * Routine: Gen_Good_Visual - return the resource ID for the client's
* visual
*
* Input: client - integer from 0 to MAX_CLIENTS
@@ -367,17 +190,6 @@ Gen_Good_Visual (client,scr)
return (Get_Visual_ID (vp));
}
-/*ARGSUSED*/
-int
-Gen_Good_x (client) {
- return (0);
-}
-/*ARGSUSED*/
-int
-Gen_Good_y (client) {
- return (0);
-}
-
XID
Get_Resource_Id(client)
int client;