diff options
author | Diego E. 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2008-11-21 13:10:02 +0100 |
---|---|---|
committer | Diego E. 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2008-11-21 13:10:02 +0100 |
commit | 6232f1c96cde1fee247e95cd97235c48cc7b168d (patch) | |
tree | e21322f006201192768c2a01b4f7d7479e6c9d3a /seq/aseqnet/aseqnet.c | |
parent | ca1ea1e90484bf8cd2a7ef78f29e4f02a457d584 (diff) | |
download | alsa-utils-6232f1c96cde1fee247e95cd97235c48cc7b168d.tar.gz |
Make some static tables and strings constants.
By doing this we move them from the .data section to .rodata setion,
or from .data.rel to .data.rel.ro.
The .rodata section is mapped directly from the on-disk file, which is
always a save, while .data.rel.ro is mapped directly when using
prelink, which is a save in a lot of cases.
Signed-off-by: Diego E. 'Flameeyes' Pettenò <flameeyes@gmail.com>
Diffstat (limited to 'seq/aseqnet/aseqnet.c')
-rw-r--r-- | seq/aseqnet/aseqnet.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/seq/aseqnet/aseqnet.c b/seq/aseqnet/aseqnet.c index ccf33e6..e071ad9 100644 --- a/seq/aseqnet/aseqnet.c +++ b/seq/aseqnet/aseqnet.c @@ -83,7 +83,7 @@ static int info = 0; * main routine */ -static struct option long_option[] = { +static const struct option long_option[] = { {"port", 1, NULL, 'p'}, {"source", 1, NULL, 's'}, {"dest", 1, NULL, 'd'}, |