Merge branch 'master' into tls

This commit is contained in:
Camilla Berglund
2012-08-12 15:35:06 +02:00
11 changed files with 32 additions and 39 deletions
+5 -2
View File
@@ -41,7 +41,10 @@
#include <string.h>
#include "getopt.h"
/* 2012-08-12 Lambert Clara <lambert.clara@yahoo.fr>
*
* Constify third argument of getopt.
*/
/* 2011-07-27 Camilla Berglund <elmindreda@elmindreda.org>
*
* Added _CRT_SECURE_NO_WARNINGS macro.
@@ -102,7 +105,7 @@ static int permute_argv_once()
}
int getopt(int argc, char** argv, char* optstr)
int getopt(int argc, char** argv, const char* optstr)
{
int c = 0;
+1 -1
View File
@@ -48,7 +48,7 @@ extern int optind;
extern int opterr;
extern int optopt;
int getopt(int argc, char** argv, char* optstr);
int getopt(int argc, char** argv, const char* optstr);
#ifdef __cplusplus