From 1bf524c1b7742caa843ac94131f175d19c8ca4e2 Mon Sep 17 00:00:00 2001 From: Tiago Cunha Date: Wed, 22 Jul 2009 16:53:30 +0000 Subject: 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. --- tmux.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tmux.c') diff --git a/tmux.c b/tmux.c index 1fa6996c..57b00a44 100644 --- a/tmux.c +++ b/tmux.c @@ -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 @@ -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 -- cgit