mirror of
https://github.com/tmux/tmux.git
synced 2024-11-16 01:18:52 +00:00
Make place const to avoid a warning, from Ben Boeckel.
This commit is contained in:
parent
7536d690fd
commit
5e956f1148
@ -52,7 +52,7 @@ char *BSDoptarg; /* argument associated with option */
|
|||||||
int
|
int
|
||||||
BSDgetopt(int nargc, char *const *nargv, const char *ostr)
|
BSDgetopt(int nargc, char *const *nargv, const char *ostr)
|
||||||
{
|
{
|
||||||
static char *place = EMSG; /* option letter processing */
|
static const char *place = EMSG; /* option letter processing */
|
||||||
char *oli; /* option letter list index */
|
char *oli; /* option letter list index */
|
||||||
|
|
||||||
if (ostr == NULL)
|
if (ostr == NULL)
|
||||||
|
Loading…
Reference in New Issue
Block a user