chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
c3d6ca8
)
make struct option arrays static const
author
Sergey Vlasov
<vsu@altlinux.ru>
Sun, 3 Sep 2006 12:12:51 +0000
(14:12 +0200)
committer
Kay Sievers
<kay.sievers@suse.de>
Sun, 3 Sep 2006 12:12:51 +0000
(14:12 +0200)
udevinfo.c
patch
|
blob
|
history
udevtrigger.c
patch
|
blob
|
history
diff --git
a/udevinfo.c
b/udevinfo.c
index d1d77152c3ffed3ad82bc4eb305a8508d84c8a06..dca4616958b4eeeb5e662e034af6f58346971c91 100644
(file)
--- 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[] = {
+ st
atic const st
ruct option options[] = {
{ "name", 1, NULL, 'n' },
{ "path", 1, NULL, 'p' },
{ "query", 1, NULL, 'q' },
diff --git
a/udevtrigger.c
b/udevtrigger.c
index d332e088ca503e53e0cca09dba07028caf6f52f6..2e001db5c9c4c08d87c6844cd8f3fc7cd4c1956a 100644
(file)
--- a/
udevtrigger.c
+++ b/
udevtrigger.c
@@
-468,7
+468,7
@@
int main(int argc, char *argv[], char *envp[])
{
int failed = 0;
int option;
- struct option options[] = {
+ st
atic const st
ruct option options[] = {
{ "verbose", 0, NULL, 'v' },
{ "dry-run", 0, NULL, 'n' },
{ "retry-failed", 0, NULL, 'F' },