summaryrefslogtreecommitdiffstats
path: root/tmux.h
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@openbsd.org>2009-06-25 06:23:10 +0000
committerNicholas Marriott <nicm@openbsd.org>2009-06-25 06:23:10 +0000
commita7075f1c66cf62bc28e715238099c7bd7aa5aeaa (patch)
tree376a33f4dd33829d649093b7cc634b13a40a47eb /tmux.h
parent1675ddb4d1880b834a2bd0bbae5a9ffa17eb596d (diff)
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.
Diffstat (limited to 'tmux.h')
-rw-r--r--tmux.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/tmux.h b/tmux.h
index bd941887..6ca1254d 100644
--- a/tmux.h
+++ b/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 *, ...);