Skip to contentSkip to conversation

Make attribute array static and const

PATCH Applied Thomas Egerer 2 participants 2 messages Mar 8, 2011

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Make attribute array static and const

---
 udev/udevadm-info.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
udev/udevadm-info.c +1 -1
index a231fd8..187e74d 100644
@@ -33,7 +33,7 @@
 
 static bool skip_attribute(const char *name)
 {
-	char *skip[] = {
+	static const char const *skip[] = {
 		"uevent",
 		"dev",
 		"modalias",

-- 1.7.2.2

Applied
#1 lore raw
Quoted 3 lines · Thomas Egerer

---
 udev/udevadm-info.c |    2 +-

 1 files changed, 1 insertions(+), 1 deletions(-)

Applied.

Thanks,
Kay