Skip to contentSkip to conversation

accessibility/speakup/speakup_dtlk: Add header file macro definition

PATCH In review Li zeming 2 participants 2 messages Jul 6, 2022 Speakup console speech driver

lore
Share & tools
lore

Li zeming

author
#0 lore raw

PATCH 1/1 accessibility/speakup/speakup_dtlk: Add header file macro definition

Add header file macro definition.

---
 drivers/accessibility/speakup/speakup_dtlk.h | 3 +++
 1 file changed, 3 insertions(+)
drivers/accessibility/speakup/speakup_dtlk.h +3 -0
index 9c378b58066e..101848edec2e 100644
@@ -1,5 +1,7 @@
 /* SPDX-License-Identifier: GPL-2.0 */
 /* speakup_dtlk.h - header file for speakups DoubleTalk driver. */
+#ifndef _SPEAKUP_DTLK_H
+#define _SPEAKUP_DTLK_H
 
 #define SYNTH_IO_EXTENT	0x02
 #define SYNTH_CLEAR	0x18		/* stops speech */
@@ -61,3 +63,4 @@ struct synth_settings {
 				 */
 	u_char has_indexing;	/* nonzero if indexing is implemented */
 };
+#endif
Signature · 1 line
2.18.2
maintainer Reviewed-by on v1 1/1
#1 lore raw

Li zeming, le mer. 06 juil. 2022 09:04:30 +0800, a ecrit:

Quoted 3 lines

Add header file macro definition.

Quoted 24 lines
---
 drivers/accessibility/speakup/speakup_dtlk.h | 3 +++
 1 file changed, 3 insertions(+)
drivers/accessibility/speakup/speakup_dtlk.h +3 -0
index 9c378b58066e..101848edec2e 100644
@@ -1,5 +1,7 @@
 /* SPDX-License-Identifier: GPL-2.0 */
 /* speakup_dtlk.h - header file for speakups DoubleTalk driver. */
+#ifndef _SPEAKUP_DTLK_H
+#define _SPEAKUP_DTLK_H
 
 #define SYNTH_IO_EXTENT	0x02
 #define SYNTH_CLEAR	0x18		/* stops speech */
@@ -61,3 +63,4 @@ struct synth_settings {
 				 */
 	u_char has_indexing;	/* nonzero if indexing is implemented */
 };
+#endif
Signature · 1 line
2.18.2
Signature · 4 lines
Samuel
---
Pour une évaluation indépendante, transparente et rigoureuse !
Je soutiens la Commission d'Évaluation de l'Inria.