mirror of
https://github.com/sheumann/hush.git
synced 2024-09-12 00:55:11 +00:00
Move #define MAXLINE so this compiles without circ buffers.
This commit is contained in:
parent
74b007f7cc
commit
f8277ca992
@ -129,9 +129,6 @@ static inline void sem_down(int semid)
|
|||||||
perror_msg_and_die("semop[SMwdn]");
|
perror_msg_and_die("semop[SMwdn]");
|
||||||
}
|
}
|
||||||
|
|
||||||
#define MAXLINE 1024 /* maximum line length */
|
|
||||||
|
|
||||||
|
|
||||||
void ipcsyslog_cleanup(void){
|
void ipcsyslog_cleanup(void){
|
||||||
printf("Exiting Syslogd!\n");
|
printf("Exiting Syslogd!\n");
|
||||||
if (shmid != -1)
|
if (shmid != -1)
|
||||||
@ -475,6 +472,8 @@ static void init_RemoteLog (void){
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#define MAXLINE 1024 /* maximum line length */
|
||||||
|
|
||||||
static void doSyslogd (void) __attribute__ ((noreturn));
|
static void doSyslogd (void) __attribute__ ((noreturn));
|
||||||
static void doSyslogd (void)
|
static void doSyslogd (void)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user