- fix conflicting decls of syslog related facilitynames and prioritynames tables
This commit is contained in:
@@ -17,8 +17,8 @@
|
||||
* the first porting of oao' scdns to busybox also.
|
||||
*/
|
||||
|
||||
#include <syslog.h>
|
||||
#include "libbb.h"
|
||||
#include <syslog.h>
|
||||
|
||||
//#define DEBUG 1
|
||||
#define DEBUG 0
|
||||
|
||||
@@ -7,8 +7,8 @@
|
||||
* Licensed under GPL version 2, see file LICENSE in this tarball for details.
|
||||
*/
|
||||
|
||||
#include <syslog.h>
|
||||
#include "libbb.h"
|
||||
#include <syslog.h>
|
||||
#include "isrv.h"
|
||||
|
||||
enum { TIMEOUT = 20 };
|
||||
|
||||
@@ -16,7 +16,6 @@
|
||||
* initially integrated into busybox by Bernhard Fischer
|
||||
*/
|
||||
|
||||
#include <syslog.h>
|
||||
#include <netinet/in.h>
|
||||
#include <netinet/ip.h>
|
||||
#include <arpa/inet.h>
|
||||
|
||||
@@ -24,14 +24,13 @@
|
||||
#define DEBUG 0
|
||||
|
||||
#include "libbb.h"
|
||||
#include <syslog.h>
|
||||
|
||||
#if DEBUG
|
||||
#define TELCMDS
|
||||
#define TELOPTS
|
||||
#endif
|
||||
#include <arpa/telnet.h>
|
||||
#include <sys/syslog.h>
|
||||
|
||||
|
||||
/* Structure that describes a session */
|
||||
struct tsession {
|
||||
|
||||
@@ -23,9 +23,6 @@
|
||||
// - avoid silent script failures, especially under load...
|
||||
// - link status monitoring (restart on link-up; stop on link-down)
|
||||
|
||||
#include <syslog.h>
|
||||
#include <poll.h>
|
||||
#include <sys/wait.h>
|
||||
#include <netinet/ether.h>
|
||||
#include <net/ethernet.h>
|
||||
#include <net/if.h>
|
||||
@@ -34,6 +31,7 @@
|
||||
#include <linux/sockios.h>
|
||||
|
||||
#include "libbb.h"
|
||||
#include <syslog.h>
|
||||
|
||||
/* We don't need more than 32 bits of the counter */
|
||||
#define MONOTONIC_US() ((unsigned)monotonic_us())
|
||||
|
||||
Reference in New Issue
Block a user