The branch, master has been updated
       via  5e956f114819294e03166e6c66128feb6e0571a2 (commit)
      from  7536d690fdb8859193cdfdd2f68752711425bdd0 (commit)

- Log -----------------------------------------------------------------
commit 5e956f114819294e03166e6c66128feb6e0571a2
Author: Nicholas Marriott <nicholas.marri...@gmail.com>
Commit: Nicholas Marriott <nicholas.marri...@gmail.com>

    Make place const to avoid a warning, from Ben Boeckel.
---
 compat/getopt.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/compat/getopt.c b/compat/getopt.c
index a93f368..03ad9e8 100644
--- a/compat/getopt.c
+++ b/compat/getopt.c
@@ -52,7 +52,7 @@ char  *BSDoptarg;             /* argument associated with 
option */
 int
 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 */
 
        if (ostr == NULL)
@@ -105,7 +105,7 @@ BSDgetopt(int nargc, char *const *nargv, const char *ostr)
                                    __progname, BSDoptopt);
                        return (BADCH);
                }
-               else                            /* white space */
+               else                            /* white space */
                        BSDoptarg = nargv[BSDoptind];
                place = EMSG;
                ++BSDoptind;


-----------------------------------------------------------------------

Summary of changes:
 compat/getopt.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
tmux

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
tmux-cvs mailing list
tmux-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-cvs

Reply via email to