dbus/dbus dbus-auth.c, 1.45, 1.46 dbus-server-unix.c, 1.28, 1.29 dbus-transport-unix.c, 1.47, 1.48

Ross Burton ross at freedesktop.org
Tue Oct 25 08:57:15 PDT 2005


Update of /cvs/dbus/dbus/dbus
In directory gabe:/tmp/cvs-serv16917/dbus

Modified Files:
	dbus-auth.c dbus-server-unix.c dbus-transport-unix.c 
Log Message:
Add const keywords

Index: dbus-auth.c
===================================================================
RCS file: /cvs/dbus/dbus/dbus/dbus-auth.c,v
retrieving revision 1.45
retrieving revision 1.46
diff -u -d -r1.45 -r1.46
--- dbus-auth.c	11 Sep 2005 10:02:47 -0000	1.45
+++ dbus-auth.c	25 Oct 2005 15:57:13 -0000	1.46
@@ -1832,7 +1832,7 @@
   DBusAuthCommand command; /**< Corresponding enum */
 } DBusAuthCommandName;
 
-static DBusAuthCommandName auth_command_names[] = {
+static const DBusAuthCommandName auth_command_names[] = {
   { "AUTH",     DBUS_AUTH_COMMAND_AUTH },
   { "CANCEL",   DBUS_AUTH_COMMAND_CANCEL },
   { "DATA",     DBUS_AUTH_COMMAND_DATA },

Index: dbus-server-unix.c
===================================================================
RCS file: /cvs/dbus/dbus/dbus/dbus-server-unix.c,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -d -r1.28 -r1.29
--- dbus-server-unix.c	26 Feb 2005 06:37:46 -0000	1.28
+++ dbus-server-unix.c	25 Oct 2005 15:57:13 -0000	1.29
@@ -232,7 +232,7 @@
   HAVE_LOCK_CHECK (server);
 }
 
-static DBusServerVTable unix_vtable = {
+static const DBusServerVTable unix_vtable = {
   unix_finalize,
   unix_disconnect
 };

Index: dbus-transport-unix.c
===================================================================
RCS file: /cvs/dbus/dbus/dbus/dbus-transport-unix.c,v
retrieving revision 1.47
retrieving revision 1.48
diff -u -d -r1.47 -r1.48
--- dbus-transport-unix.c	11 Sep 2005 10:02:47 -0000	1.47
+++ dbus-transport-unix.c	25 Oct 2005 15:57:13 -0000	1.48
@@ -1097,7 +1097,7 @@
   return TRUE;
 }
 
-static DBusTransportVTable unix_vtable = {
+static const DBusTransportVTable unix_vtable = {
   unix_finalize,
   unix_handle_watch,
   unix_disconnect,



More information about the dbus-commit mailing list