Просмотр исходного кода

vsf_type: add "const" to avoid warning

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1934 fd59a12c-fef9-0310-b244-a6a79926bd2f
Jim Meyering 17 лет назад
Родитель
Сommit
bad0fbf809
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      include/corosync/totem/totem.h

+ 2 - 2
include/corosync/totem/totem.h

@@ -1,6 +1,6 @@
 /*
  * Copyright (c) 2005 MontaVista Software, Inc.
- * Copyright (c) 2006-2008 Red Hat, Inc.
+ * Copyright (c) 2006-2009 Red Hat, Inc.
  *
  * Author: Steven Dake (sdake@redhat.com)
  *
@@ -141,7 +141,7 @@ struct totem_config {
 
 	unsigned int max_messages;
 
-	char *vsf_type;
+	const char *vsf_type;
 };
 
 #define TOTEM_CONFIGURATION_TYPE