Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 281130 | Differences between
and this patch

Collapse All | Expand All

(-)speech-dispatcher-0.6.7.orig/src/modules/module_main.c (-2 / +3 lines)
Lines 21-28 Link Here
21
 * $Id: module_main.c,v 1.16 2008-06-27 12:29:26 hanke Exp $
21
 * $Id: module_main.c,v 1.16 2008-06-27 12:29:26 hanke Exp $
22
 */
22
 */
23
23
24
/* So that gcc doesn't comply */
24
#ifndef _GNU_SOURCE
25
int getline(char**, size_t*, FILE*);
25
 #define _GNU_SOURCE
26
#endif
26
27
27
#define PROCESS_CMD(command, function) \
28
#define PROCESS_CMD(command, function) \
28
if (!strcmp(cmd_buf, #command"\n")){ \
29
if (!strcmp(cmd_buf, #command"\n")){ \
(-)speech-dispatcher-0.6.7.orig/src/modules/module_utils.h (-4 / +4 lines)
Lines 46-51 Link Here
46
46
47
#include "spd_audio.h"
47
#include "spd_audio.h"
48
48
49
#ifndef _GNU_SOURCE
50
 #define _GNU_SOURCE
51
#endif
52
49
typedef struct{
53
typedef struct{
50
  char* audio_output_method;
54
  char* audio_output_method;
51
  char* audio_oss_device;
55
  char* audio_oss_device;
Lines 419-428 Link Here
419
void module_report_event_pause(void);
423
void module_report_event_pause(void);
420
424
421
425
422
423
/* So that gcc doesn't complain */
424
int getline(char**, size_t*, FILE*);
425
426
pthread_mutex_t module_stdout_mutex;
426
pthread_mutex_t module_stdout_mutex;
427
427
428
int module_utils_init(void);
428
int module_utils_init(void);

Return to bug 281130