Sync OpenBSD patchset 1123:

Simplify logging and just fprintf(stderr, ...) for early errors.
This commit is contained in:
Tiago Cunha
2012-05-30 13:42:57 +00:00
parent c6fc8771a9
commit 169d362945
4 changed files with 27 additions and 65 deletions

3
tmux.h
View File

@ -2178,8 +2178,7 @@ char *osdep_get_cwd(pid_t);
struct event_base *osdep_event_init(void);
/* log.c */
void log_open_tty(int);
void log_open_file(int, const char *);
void log_open(int, const char *);
void log_close(void);
void printflike1 log_warn(const char *, ...);
void printflike1 log_warnx(const char *, ...);