Răsfoiți Sursa

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 ani în urmă
părinte
comite
0edd682c7d
1 a modificat fișierele cu 2 adăugiri și 2 ștergeri
  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 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
  * 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)	\
 #define LOGSYS_DECLARE_SYSTEM(name,mode,file,facility,format,rec_size)	\
 __attribute__ ((constructor)) static void logsys_system_init (void)	\
 __attribute__ ((constructor)) static void logsys_system_init (void)	\
 {									\
 {									\
-	char *error_string;						\
+	const char *error_string;						\
 									\
 									\
 	logsys_config_mode_set (mode);					\
 	logsys_config_mode_set (mode);					\
 	logsys_config_file_set (&error_string, (file));			\
 	logsys_config_file_set (&error_string, (file));			\