Skip to content

Commit

Permalink
Fix function prototypes for -std=c2x
Browse files Browse the repository at this point in the history
  • Loading branch information
zlamas committed Dec 24, 2023
1 parent 4508108 commit 7a70ee2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/syslogd.c
Original file line number Diff line number Diff line change
Expand Up @@ -201,15 +201,15 @@ static void rotate_file(struct filed *f, struct stat *stp_or_null);
static void rotate_all_files(void);
static void fprintlog_first(struct filed *f, struct buf_msg *buffer);
static void fprintlog_successive(struct filed *f, int flags);
void endtty();
void endtty(int);
void wallmsg(struct filed *f, struct iovec *iov, int iovcnt);
void reapchild();
void reapchild(int);
const char *cvtaddr(struct sockaddr_storage *f, int len);
const char *cvthname(struct sockaddr *f, socklen_t len);
static void forw_lookup(struct filed *f);
void domark(void *arg);
void doflush(void *arg);
void debug_switch();
void debug_switch(int);
void die(int sig);
static void signal_init(void);
static void boot_time_init(void);
Expand Down Expand Up @@ -2697,7 +2697,7 @@ static void init(void)
* Good software also always checks its return values...
* If syslogd starts up before DNS is up & /etc/hosts
* doesn't have LocalHostName listed, gethostbyname will
* return NULL.
* return NULL.
*/
hent = gethostbyname(LocalHostName);
if (hent)
Expand Down

0 comments on commit 7a70ee2

Please sign in to comment.