From 08e46c58a804c380f73a8be3403663af790a48bd Mon Sep 17 00:00:00 2001 From: William Hubbs Date: Sat, 20 Jun 2009 13:09:57 -0500 Subject: [PATCH] indentation fixes --- espeakup.c | 2 +- espeakup.h | 4 ++-- softsynth.c | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/espeakup.c b/espeakup.c index 5aaf818..f323d3c 100644 --- a/espeakup.c +++ b/espeakup.c @@ -110,7 +110,7 @@ int main(int argc, char **argv) } /* open the softsynth. */ - if (! open_softsynth()) { + if (!open_softsynth()) { perror("Unable to open the softsynth device"); return 3; } diff --git a/espeakup.h b/espeakup.h index eb67e3d..5a31cdf 100644 --- a/espeakup.h +++ b/espeakup.h @@ -66,7 +66,7 @@ extern espeak_ERROR set_frequency(struct synth_t *s, int freq, extern espeak_ERROR set_pitch(struct synth_t *s, int pitch, enum adjust_t adj); extern espeak_ERROR set_punctuation(struct synth_t *s, int punct, - enum adjust_t adj); + enum adjust_t adj); extern espeak_ERROR set_rate(struct synth_t *s, int rate, enum adjust_t adj); extern espeak_ERROR set_voice(struct synth_t *s, char *voice); @@ -77,7 +77,7 @@ extern espeak_ERROR speak_text(struct synth_t *s); extern int open_softsynth(void); extern void close_softsynth(void); extern void main_loop(struct synth_t *s); -extern void * queue_runner(void *arg); +extern void *queue_runner(void *arg); extern int init_audio(void); extern volatile int stopped; diff --git a/softsynth.c b/softsynth.c index b482ec9..f10f000 100644 --- a/softsynth.c +++ b/softsynth.c @@ -127,12 +127,12 @@ static void process_buffer(struct synth_t *s, char *buf, ssize_t length) int open_softsynth(void) { - int rc; + int rc; softFD = open("/dev/softsynth", O_RDWR | O_NONBLOCK); if (softFD < 0) rc = 0; - else + else rc = 1; return rc; }