diff options
Diffstat (limited to 'tmux.h')
-rw-r--r-- | tmux.h | 23 |
1 files changed, 11 insertions, 12 deletions
@@ -1,4 +1,4 @@ -/* $OpenBSD$ */ +/* $Id$ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -23,29 +23,26 @@ #include <sys/param.h> #include <sys/time.h> -#include <sys/queue.h> -#include <sys/tree.h> #include <sys/uio.h> -#include <bitstring.h> #include <event.h> -#include <getopt.h> -#include <imsg.h> #include <limits.h> #include <signal.h> #include <stdarg.h> -#include <stdint.h> #include <stdio.h> #include <termios.h> +#ifdef HAVE_UTEMPTER +#include <utempter.h> +#endif + #include "array.h" +#include "compat.h" + extern char *__progname; extern char **environ; -/* Default global configuration file. */ -#define TMUX_CONF "/etc/tmux.conf" - /* Default prompt history length. */ #define PROMPT_HISTORY 100 @@ -2354,8 +2351,10 @@ char *utf8_tocstr(struct utf8_data *); u_int utf8_cstrwidth(const char *); char *utf8_trimcstr(const char *, u_int); -/* procname.c */ -char *get_proc_name(int, char *); +/* osdep-*.c */ +char *osdep_get_name(int, char *); +char *osdep_get_cwd(int); +struct event_base *osdep_event_init(void); /* log.c */ void log_open(const char *); |