diff options
author | Tiago Cunha <tcunha@gmx.com> | 2009-07-22 16:53:30 +0000 |
---|---|---|
committer | Tiago Cunha <tcunha@gmx.com> | 2009-07-22 16:53:30 +0000 |
commit | 1bf524c1b7742caa843ac94131f175d19c8ca4e2 (patch) | |
tree | 8051b655529c9451d118d027b63839c225214e5c /tmux.c | |
parent | a734488a4b84752000ee511b57f07d91ddc28a6d (diff) | |
download | rtmux-1bf524c1b7742caa843ac94131f175d19c8ca4e2.tar.gz rtmux-1bf524c1b7742caa843ac94131f175d19c8ca4e2.tar.bz2 rtmux-1bf524c1b7742caa843ac94131f175d19c8ca4e2.zip |
Sync OpenBSD patchset 152:
__progname is not const, pointed out by deraadt.
And, as a consequence change its declaration for operating systems which
don't provide __progname as well.
Diffstat (limited to 'tmux.c')
-rw-r--r-- | tmux.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,4 +1,4 @@ -/* $Id: tmux.c,v 1.147 2009-07-20 16:07:23 tcunha Exp $ */ +/* $Id: tmux.c,v 1.148 2009-07-22 16:53:30 tcunha Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -64,7 +64,7 @@ __dead void usage(void); char *makesockpath(const char *); #ifndef HAVE_PROGNAME -const char *__progname = "tmux"; +char *__progname = (char *) "tmux"; #endif __dead void |