summaryrefslogtreecommitdiff
path: root/codec/compat/getopt.c
diff options
context:
space:
mode:
authorFrancois-Olivier Devaux <fodevaux@users.noreply.github.com>2010-03-24 11:21:19 +0000
committerFrancois-Olivier Devaux <fodevaux@users.noreply.github.com>2010-03-24 11:21:19 +0000
commit73b4d326382e1c7e0f10ea98cc9f1b4672aa3fb2 (patch)
treee5f10dc589853a7bd7ec36ebb34f2e2e6e5b32db /codec/compat/getopt.c
parent67b5ab3c045fae8da28392596ee49ac1bbdbec40 (diff)
Code improvements using 'g++-4.4.0' to trace the code (v2.0). Thanks to Winfried for this patch.
Diffstat (limited to 'codec/compat/getopt.c')
-rw-r--r--codec/compat/getopt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/codec/compat/getopt.c b/codec/compat/getopt.c
index 23270e6a..37471ad5 100644
--- a/codec/compat/getopt.c
+++ b/codec/compat/getopt.c
@@ -49,7 +49,7 @@ const char *optarg; /* argument associated with option */
typedef struct option
{
- char *name;
+ const char *name;
int has_arg;
int *flag;
int val;