public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Nick Sillik <n.sillik@temple.edu>
To: linux-kernel@vger.kernel.org
Subject: drivers/char/speakup/synthlist.h fix -Wundef errors
Date: Wed, 27 Jul 2005 16:16:41 -0400	[thread overview]
Message-ID: <42E7EBA9.5070404@temple.edu> (raw)

[-- Attachment #1: Type: text/plain, Size: 133 bytes --]

This patch should fix a slew of -Wundef errors in the synthlist.h file 
used by the speakup driver.

Nick Sillik
n.sillik@temple.edu

[-- Attachment #2: synthlist_wundef.patch --]
[-- Type: text/plain, Size: 1632 bytes --]

diff -urN a/drivers/char/speakup/synthlist.h b/drivers/char/speakup/synthlist.h
--- a/drivers/char/speakup/synthlist.h	2005-07-27 16:10:04.000000000 -0400
+++ b/drivers/char/speakup/synthlist.h	2005-07-27 16:12:23.000000000 -0400
@@ -10,43 +10,43 @@
 #define  CFG_TEST(name) (name)
 #endif
 
-#if CFG_TEST(CONFIG_SPEAKUP_ACNTPC)
+#ifdef CFG_TEST(CONFIG_SPEAKUP_ACNTPC)
 SYNTH_DECL(acntpc)
 #endif
-#if CFG_TEST(CONFIG_SPEAKUP_ACNTSA)
+#ifdef CFG_TEST(CONFIG_SPEAKUP_ACNTSA)
 SYNTH_DECL(acntsa)
 #endif
-#if CFG_TEST(CONFIG_SPEAKUP_APOLLO)
+#ifdef CFG_TEST(CONFIG_SPEAKUP_APOLLO)
 SYNTH_DECL(apollo)
 #endif
-#if CFG_TEST(CONFIG_SPEAKUP_AUDPTR)
+#ifdef CFG_TEST(CONFIG_SPEAKUP_AUDPTR)
 SYNTH_DECL(audptr)
 #endif
-#if CFG_TEST(CONFIG_SPEAKUP_BNS)
+#ifdef CFG_TEST(CONFIG_SPEAKUP_BNS)
 SYNTH_DECL(bns)
 #endif
-#if CFG_TEST(CONFIG_SPEAKUP_DECEXT)
+#ifdef CFG_TEST(CONFIG_SPEAKUP_DECEXT)
 SYNTH_DECL(decext)
 #endif
-#if CFG_TEST(CONFIG_SPEAKUP_DECTLK)
+#ifdef CFG_TEST(CONFIG_SPEAKUP_DECTLK)
 SYNTH_DECL(dectlk)
 #endif
-#if CFG_TEST(CONFIG_SPEAKUP_DTLK)
+#ifdef CFG_TEST(CONFIG_SPEAKUP_DTLK)
 SYNTH_DECL(dtlk)
 #endif
-#if CFG_TEST(CONFIG_SPEAKUP_KEYPC)
+#ifdef CFG_TEST(CONFIG_SPEAKUP_KEYPC)
 SYNTH_DECL(keypc)
 #endif
-#if CFG_TEST(CONFIG_SPEAKUP_LTLK)
+#ifdef CFG_TEST(CONFIG_SPEAKUP_LTLK)
 SYNTH_DECL(ltlk)
 #endif
-#if CFG_TEST(CONFIG_SPEAKUP_SFTSYN)
+#ifdef CFG_TEST(CONFIG_SPEAKUP_SFTSYN)
 SYNTH_DECL(sftsyn)
 #endif
-#if CFG_TEST(CONFIG_SPEAKUP_SPKOUT)
+#ifdef CFG_TEST(CONFIG_SPEAKUP_SPKOUT)
 SYNTH_DECL(spkout)
 #endif
-#if CFG_TEST(CONFIG_SPEAKUP_TXPRT)
+#ifdef CFG_TEST(CONFIG_SPEAKUP_TXPRT)
 SYNTH_DECL(txprt)
 #endif
 

             reply	other threads:[~2005-07-27 20:18 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-07-27 20:16 Nick Sillik [this message]
2005-07-27 20:28 ` drivers/char/speakup/synthlist.h fix -Wundef errors Nick Sillik

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=42E7EBA9.5070404@temple.edu \
    --to=n.sillik@temple.edu \
    --cc=linux-kernel@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