Ver código fonte

* exec/objdb.c (object_create): make "object_name" param const

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1930 fd59a12c-fef9-0310-b244-a6a79926bd2f
Jim Meyering 17 anos atrás
pai
commit
87b6a141ff
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      exec/objdb.c

+ 1 - 1
exec/objdb.c

@@ -363,7 +363,7 @@ static void object_reload_notification(int startstop, int flush)
 static int object_create (
 	hdb_handle_t parent_object_handle,
 	hdb_handle_t *object_handle,
-	void *object_name,
+	const void *object_name,
 	unsigned int object_name_len)
 {
 	struct object_instance *object_instance;