mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-03 18:25:07 -05:00
logging: include <syslog.h>
Move the inclusion of <syslog.h> from sysincl.h to logging.c to avoid accidentally using the LOG_* constants from the header.
This commit is contained in:
@@ -29,6 +29,8 @@
|
||||
|
||||
#include "sysincl.h"
|
||||
|
||||
#include <syslog.h>
|
||||
|
||||
#include "conf.h"
|
||||
#include "logging.h"
|
||||
#include "util.h"
|
||||
|
||||
@@ -21,9 +21,8 @@
|
||||
|
||||
=======================================================================
|
||||
|
||||
This file includes all system header files that the software
|
||||
requires. This allows us to isolate system dependencies to this file
|
||||
alone.
|
||||
This file includes most system header files that the software
|
||||
requires to better isolate system dependencies.
|
||||
*/
|
||||
|
||||
#ifndef GOT_SYSINCL_H
|
||||
@@ -54,7 +53,6 @@
|
||||
#include <sys/un.h>
|
||||
#include <sys/shm.h>
|
||||
#include <sys/wait.h>
|
||||
#include <syslog.h>
|
||||
#include <time.h>
|
||||
#include <unistd.h>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user