diff options
author | Eric S. Raymond <esr@thyrsus.com> | 1997-07-02 21:04:33 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 1997-07-02 21:04:33 +0000 |
commit | 8d7c11a050bca2b3dbbff813cc79b91f4e8c8d24 (patch) | |
tree | 8203c38a76fe4fedd1446435de8a5274bf54938e | |
parent | fee051d3336aa686f9e6ff31917c5dc8cf13ec61 (diff) | |
download | fetchmail-8d7c11a050bca2b3dbbff813cc79b91f4e8c8d24.tar.gz fetchmail-8d7c11a050bca2b3dbbff813cc79b91f4e8c8d24.tar.bz2 fetchmail-8d7c11a050bca2b3dbbff813cc79b91f4e8c8d24.zip |
Optimization time.
svn path=/trunk/; revision=1145
-rw-r--r-- | options.c | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -50,8 +50,11 @@ #define LA_MONITOR 32 #define LA_YYDEBUG 33 -static char *shortoptions = "?Vcsvd:NqL:f:i:p:UP:A:t:E:u:akKFnl:r:S:b:B:m:I:M:y"; -static struct option longoptions[] = { +static const char *shortoptions = + "?Vcsvd:NqL:f:i:p:UP:A:t:E:u:akKFnl:r:S:b:B:m:I:M:y"; + +static const struct option longoptions[] = { +/* this can be const because all flag fields are 0 and will never get set */ {"help", no_argument, (int *) 0, LA_HELP }, {"version", no_argument, (int *) 0, LA_VERSION }, {"check", no_argument, (int *) 0, LA_CHECK }, |