linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Thomas Egerer <thomas.egerer@secunet.com>
To: linux-hotplug@vger.kernel.org
Subject: [PATCH] Make attribute array static and const
Date: Tue, 08 Mar 2011 08:57:17 +0000	[thread overview]
Message-ID: <4D75EF6D.5090702@secunet.com> (raw)

---
 udev/udevadm-info.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/udev/udevadm-info.c b/udev/udevadm-info.c
index a231fd8..187e74d 100644
--- a/udev/udevadm-info.c
+++ b/udev/udevadm-info.c
@@ -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

             reply	other threads:[~2011-03-08  8:57 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-08  8:57 Thomas Egerer [this message]
2011-03-08 12:15 ` [PATCH] Make attribute array static and const Kay Sievers

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4D75EF6D.5090702@secunet.com \
    --to=thomas.egerer@secunet.com \
    --cc=linux-hotplug@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).