[Commit] librr/src Makefile.am,1.3,1.4 rr.h,1.6,1.7 rr_client.c,1.3,1.4

Carl Worth commit at keithp.com
Thu Jun 12 12:00:58 PDT 2003


Committed by: cworth

Update of /local/src/CVS/librr/src
In directory home.keithp.com:/tmp/cvs-serv13100/src

Modified Files:
	Makefile.am rr.h rr_client.c 
Log Message:
Cleaned up some warnings

Index: Makefile.am
===================================================================
RCS file: /local/src/CVS/librr/src/Makefile.am,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- Makefile.am	11 Jun 2003 23:26:14 -0000	1.3
+++ Makefile.am	12 Jun 2003 18:00:55 -0000	1.4
@@ -11,5 +11,6 @@
 	rr_string.c \
 	rr_strbuf.c
 
+librr_la_CFLAGS = -Wall
 librr_la_LDFLAGS = -version-info @VERSION_INFO@
 

Index: rr.h
===================================================================
RCS file: /local/src/CVS/librr/src/rr.h,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- rr.h	12 Jun 2003 07:09:09 -0000	1.6
+++ rr.h	12 Jun 2003 18:00:56 -0000	1.7
@@ -125,7 +125,7 @@
     RR_TARGET_YELLOW_OCTAGON  = RR_TARGET_YELLOW | RR_TARGET_OCTAGON,
     RR_TARGET_YELLOW_SQUARE   = RR_TARGET_YELLOW | RR_TARGET_SQUARE,
     RR_TARGET_YELLOW_TRIANGLE = RR_TARGET_YELLOW | RR_TARGET_TRIANGLE,
-    RR_TARGET_WHIRL	      = RR_TARGET_MULTI | RR_TARGET_SHAPE_WHIRL
+    RR_TARGET_WHIRL	      = RR_TARGET_MULTI  | RR_TARGET_SHAPE_WHIRL
 } rr_target_t;
 #define RR_TARGET_ANY (RR_TARGET_SHAPE_ANY | RR_TARGET_COLOR_ANY)
 

Index: rr_client.c
===================================================================
RCS file: /local/src/CVS/librr/src/rr_client.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- rr_client.c	12 Jun 2003 07:09:09 -0000	1.3
+++ rr_client.c	12 Jun 2003 18:00:56 -0000	1.4
@@ -49,9 +49,6 @@
 static rr_status_t
 _rr_client_disconnect (rr_client_t *client);
 
-static void *
-_rr_client_response_thread_start (void *closure);
-
 static rr_status_t
 _rr_client_request (rr_client_t *client,
 		    rr_cmd_t cmd, const char *arg,
@@ -409,6 +406,8 @@
     e->notice = arg;
     e->next = 0;
     *p = e;
+
+    return RR_STATUS_SUCCESS;
 }
 
 static rr_status_t
@@ -894,10 +893,10 @@
 	char		*name;
 	rr_gamestate_t	gamestate;
     } gamestates[] = {
-	"NEW",	RR_GAMESTATE_NEW,
-	"BID",	RR_GAMESTATE_BID,
-	"SHOW",	RR_GAMESTATE_SHOW,
-	"DONE",	RR_GAMESTATE_DONE
+	{"NEW",	RR_GAMESTATE_NEW},
+	{"BID",	RR_GAMESTATE_BID},
+	{"SHOW",RR_GAMESTATE_SHOW},
+	{"DONE",RR_GAMESTATE_DONE}
     };
 
 #define RR_NUM_GAMESTATES   (sizeof (gamestates) / sizeof (gamestates[0]))




More information about the Commit mailing list