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

merge with "in progress" -- down 6 to 73 warnings

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

+ 2 - 2
include/corosync/engine/logsys.h

@@ -133,7 +133,7 @@ extern void logsys_flush (void);
 
 extern void logsys_atsegv (void);
 
-extern int logsys_log_rec_store (char *filename);
+extern int logsys_log_rec_store (const char *filename);
 
 /*
  * Internal APIs that must be globally exported
@@ -177,7 +177,7 @@ extern void *logsys_rec_end;
 #define LOGSYS_DECLARE_SYSTEM(name,mode,file,facility,format,rec_size)	\
 __attribute__ ((constructor)) static void logsys_system_init (void)	\
 {									\
-	char *error_string;						\
+	const char *error_string;						\
 									\
 	logsys_config_mode_set (mode);					\
 	logsys_config_file_set (&error_string, (file));			\