mirror of
https://github.com/tmux/tmux.git
synced 2025-09-02 05:21:10 +00:00
tmux doesn't and won't need syslog logging, so remove it and some other unused
functions found by lint. Also move a couple of internal function declarations into file scope.
This commit is contained in:
5
tmux.h
5
tmux.h
@ -1537,20 +1537,15 @@ uint8_t buffer_read8(struct buffer *);
|
||||
int buffer_poll(struct pollfd *, struct buffer *, struct buffer *);
|
||||
|
||||
/* log.c */
|
||||
#define LOG_FACILITY LOG_DAEMON
|
||||
void log_open_syslog(int);
|
||||
void log_open_tty(int);
|
||||
void log_open_file(int, const char *);
|
||||
void log_close(void);
|
||||
void log_vwrite(int, const char *, va_list);
|
||||
void log_write(int, const char *, ...);
|
||||
void printflike1 log_warn(const char *, ...);
|
||||
void printflike1 log_warnx(const char *, ...);
|
||||
void printflike1 log_info(const char *, ...);
|
||||
void printflike1 log_debug(const char *, ...);
|
||||
void printflike1 log_debug2(const char *, ...);
|
||||
void printflike1 log_debug3(const char *, ...);
|
||||
__dead void log_vfatal(const char *, va_list);
|
||||
__dead void log_fatal(const char *, ...);
|
||||
__dead void log_fatalx(const char *, ...);
|
||||
|
||||
|
Reference in New Issue
Block a user