summaryrefslogtreecommitdiff
path: root/udevinfo.c
diff options
context:
space:
mode:
authorSergey Vlasov <vsu@altlinux.ru>2006-09-03 14:12:51 +0200
committerKay Sievers <kay.sievers@suse.de>2006-09-03 14:12:51 +0200
commite97717bac286ce7b13f20f95a56281807d9feeb1 (patch)
tree00e3b222209ed99adf138bbaa20047a89922e0ec /udevinfo.c
parentc3d6ca8767427b4b0ba9248a7787510903e7d34a (diff)
make struct option arrays static const
Diffstat (limited to 'udevinfo.c')
-rw-r--r--udevinfo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/udevinfo.c b/udevinfo.c
index d1d77152c3..dca4616958 100644
--- a/udevinfo.c
+++ b/udevinfo.c
@@ -168,7 +168,7 @@ int main(int argc, char *argv[], char *envp[])
struct udevice *udev;
int root = 0;
- struct option options[] = {
+ static const struct option options[] = {
{ "name", 1, NULL, 'n' },
{ "path", 1, NULL, 'p' },
{ "query", 1, NULL, 'q' },