mirror of
https://github.com/linux-speakup/espeakup.git
synced 2026-08-20 14:54:17 +02:00
Cleaned up warnings and adjusted CFLAGS
This commit cleans up warnings and adjusts CFLAGS. Thanks to samuel.thibault@ens-lyon.org.
This commit is contained in:
parent
7db5530308
commit
bbf77d918d
3 changed files with 6 additions and 0 deletions
2
Makefile
2
Makefile
|
|
@ -1,5 +1,7 @@
|
|||
INSTALL = install
|
||||
|
||||
CFLAGS = -Wall
|
||||
|
||||
SRCS = \
|
||||
cli.c \
|
||||
espeakup.c \
|
||||
|
|
|
|||
2
queue.c
2
queue.c
|
|
@ -136,6 +136,8 @@ void queue_process_entry(struct synth_t *s)
|
|||
s->len = last->len;
|
||||
error = speak_text(s);
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
if (error == EE_OK)
|
||||
queue_remove();
|
||||
|
|
|
|||
|
|
@ -21,7 +21,9 @@
|
|||
#include <fcntl.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <unistd.h>
|
||||
#include <string.h>
|
||||
#include <ctype.h>
|
||||
|
||||
#include "espeakup.h"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue