summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2010-06-30 14:35:03 +1000
committerAaron Plattner <aplattner@nvidia.com>2011-04-12 15:48:01 -0700
commit36c78292178a273b577564517e71fc392a3ba3da (patch)
tree8f88c9944c9e50909ab6b414ba04d3c367a87bad
parent759a1b4c6103cf28045e387911a75beb28071e91 (diff)
Purge a bunch of unused Gen_Good_foo()
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Aaron Plattner <aplattner@nvidia.com> Signed-off-by: Aaron Plattner <aplattner@nvidia.com>
-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;