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

evsverify.c: avoid 1 warning

* test/evsverify.c: Add a const.

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

+ 2 - 2
test/evsverify.c

@@ -1,6 +1,6 @@
 /*
  * Copyright (c) 2004 MontaVista Software, Inc.
- * Copyright (c) 2006-2007 Red Hat, Inc.
+ * Copyright (c) 2006-2007, 2009 Red Hat, Inc.
  *
  * All rights reserved.
  *
@@ -46,7 +46,7 @@
 #include <corosync/evs.h>
 #include "../exec/crypto.h"
 
-char *delivery_string;
+const char *delivery_string;
 struct my_msg {
 	unsigned int msg_size;
 	unsigned char sha1[20];