Explorar el Código

Remove logsys warnings.


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1805 fd59a12c-fef9-0310-b244-a6a79926bd2f
Steven Dake hace 17 años
padre
commit
b113dd2e19
Se han modificado 1 ficheros con 6 adiciones y 1 borrados
  1. 6 1
      exec/logsys.c

+ 6 - 1
exec/logsys.c

@@ -64,7 +64,12 @@
  */
 
 #ifdef SYSLOG_NAMES
-CODE tagnames[] =
+struct syslog_names {
+	const char *c_name;
+	int c_val;
+};
+
+struct syslog_names tagnames[] =
   {
     { "log", LOGSYS_TAG_LOG },
     { "enter", LOGSYS_TAG_ENTER },