diff options
author | Mike Frysinger <vapier@gentoo.org> | 2022-12-10 14:37:44 +0545 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2022-12-10 14:37:44 +0545 |
commit | 98274793a34985ca3841ae02df1d902436b43283 (patch) | |
tree | fe00969bc8196ed4619fe531e3db7f8cba159950 /tools/getfattr.c | |
parent | 958bc7a9cb57d884af32012bac31c85017c4d7fd (diff) | |
download | attr-98274793a34985ca3841ae02df1d902436b43283.tar.gz |
tools: mark long_options static & const
This is read-only data, so don't include it in the read/write page.
Diffstat (limited to 'tools/getfattr.c')
-rw-r--r-- | tools/getfattr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/getfattr.c b/tools/getfattr.c index abdd0d4..b610b23 100644 --- a/tools/getfattr.c +++ b/tools/getfattr.c @@ -38,7 +38,7 @@ #define CMD_LINE_OPTIONS "n:de:m:hRLP" #define CMD_LINE_SPEC "[-hRLP] [-n name|-d] [-e en] [-m pattern] path..." -struct option long_options[] = { +static const struct option long_options[] = { { "name", 1, 0, 'n' }, { "dump", 0, 0, 'd' }, { "encoding", 1, 0, 'e' }, |