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

testevs.c: avoid 2 more warnings

* test/testevs.c: Declare global to be "static const".

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

+ 2 - 2
test/testevs.c

@@ -1,6 +1,6 @@
 /*
  * Copyright (c) 2004 MontaVista Software, Inc.
- * Copyright (c) 2006-2008 Red Hat, Inc.
+ * Copyright (c) 2006-2009 Red Hat, Inc.
  *
  * All rights reserved.
  *
@@ -44,7 +44,7 @@
 #include <corosync/corotypes.h>
 #include <corosync/evs.h>
 
-char *delivery_string;
+static const char *delivery_string;
 
 int deliveries = 0;
 void evs_deliver_fn (