projects
/
platform
/
upstream
/
flac.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix a bunch of compiler warnings (mainly MinGW).
[platform/upstream/flac.git]
/
src
/
share
/
getopt
/
getopt.c
diff --git
a/src/share/getopt/getopt.c
b/src/share/getopt/getopt.c
index
f25a830
..
968bf2f
100644
(file)
--- a/
src/share/getopt/getopt.c
+++ b/
src/share/getopt/getopt.c
@@
-220,13
+220,11
@@
static char *posixly_correct;
whose names are inconsistent. */
#ifndef getenv
-extern char *getenv ();
+extern char *getenv (
const char * name
);
#endif
static char *
-my_index (str, chr)
- const char *str;
- int chr;
+my_index (const char *str, int chr)
{
while (*str)
{