diff options
Diffstat (limited to 'tmux.h')
-rw-r--r-- | tmux.h | 19 |
1 files changed, 7 insertions, 12 deletions
@@ -1,4 +1,4 @@ -/* $OpenBSD$ */ +/* $Id$ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -23,29 +23,22 @@ #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> #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 @@ -2325,8 +2318,10 @@ int utf8_append(struct utf8_data *, u_char); u_int utf8_combine(const struct utf8_data *); u_int utf8_split2(u_int, u_char *); -/* 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(int, const char *); |