mirror of
https://git.proxmox.com/git/mirror_corosync
synced 2025-08-03 18:15:58 +00:00
Fix logsys construct execution priority
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1991 fd59a12c-fef9-0310-b244-a6a79926bd2f
This commit is contained in:
parent
870046d065
commit
6f25475b02
@ -175,7 +175,7 @@ extern void *logsys_rec_end;
|
||||
#define LOG_REC_END (&logsys_rec_end)
|
||||
|
||||
#define LOGSYS_DECLARE_SYSTEM(name,mode,file,facility,format,rec_size) \
|
||||
__attribute__ ((constructor)) static void logsys_system_init (void) \
|
||||
__attribute__ ((constructor (101))) static void logsys_system_init (void) \
|
||||
{ \
|
||||
const char *error_string; \
|
||||
\
|
||||
@ -188,7 +188,7 @@ __attribute__ ((constructor)) static void logsys_system_init (void) \
|
||||
}
|
||||
|
||||
#define LOGSYS_DECLARE_NOSUBSYS(priority) \
|
||||
__attribute__ ((constructor)) static void logsys_nosubsys_init (void) \
|
||||
__attribute__ ((constructor (102))) static void logsys_nosubsys_init (void) \
|
||||
{ \
|
||||
unsigned int pri, tags; \
|
||||
\
|
||||
@ -203,7 +203,7 @@ __attribute__ ((constructor)) static void logsys_nosubsys_init (void) \
|
||||
}
|
||||
|
||||
#define LOGSYS_DECLARE_SUBSYS(subsys,priority) \
|
||||
__attribute__ ((constructor)) static void logsys_subsys_init (void) \
|
||||
__attribute__ ((constructor (102))) static void logsys_subsys_init (void) \
|
||||
{ \
|
||||
unsigned int pri, tags; \
|
||||
\
|
||||
|
Loading…
Reference in New Issue
Block a user