Browse Source

Revert constructor priority in logsys.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2008 fd59a12c-fef9-0310-b244-a6a79926bd2f
Steven Dake 17 years ago
parent
commit
1eb7b648f1
1 changed files with 3 additions and 3 deletions
  1. 3 3
      include/corosync/engine/logsys.h

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

@@ -175,7 +175,7 @@ extern void *logsys_rec_end;
 #define LOG_REC_END (&logsys_rec_end)
 #define LOG_REC_END (&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 (101))) static void logsys_system_init (void)	\
+__attribute__ ((constructor)) static void logsys_system_init (void)	\
 {									\
 {									\
 	const char *error_string;						\
 	const char *error_string;						\
 									\
 									\
@@ -188,7 +188,7 @@ __attribute__ ((constructor (101))) static void logsys_system_init (void)	\
 }
 }
 
 
 #define LOGSYS_DECLARE_NOSUBSYS(priority)				\
 #define LOGSYS_DECLARE_NOSUBSYS(priority)				\
-__attribute__ ((constructor (102))) static void logsys_nosubsys_init (void)	\
+__attribute__ ((constructor)) static void logsys_nosubsys_init (void)	\
 {									\
 {									\
 	unsigned int pri, tags;						\
 	unsigned int pri, tags;						\
 									\
 									\
@@ -203,7 +203,7 @@ __attribute__ ((constructor (102))) static void logsys_nosubsys_init (void)	\
 }
 }
 
 
 #define LOGSYS_DECLARE_SUBSYS(subsys,priority)				\
 #define LOGSYS_DECLARE_SUBSYS(subsys,priority)				\
-__attribute__ ((constructor (102))) static void logsys_subsys_init (void)	\
+__attribute__ ((constructor)) static void logsys_subsys_init (void)	\
 {									\
 {									\
 	unsigned int pri, tags;						\
 	unsigned int pri, tags;						\
 									\
 									\