From 5594a055728876d12a33486e74a00912dd673d19 Mon Sep 17 00:00:00 2001 From: Michael Gernoth Date: Sun, 1 Oct 2006 10:56:39 +0000 Subject: [PATCH] let 'make proto' generate correct prototypes for rdpsnd git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1272 423420c4-83ab-492f-b58f-81f9feb106b5 --- Makefile.in | 2 +- rdpsnd.c | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Makefile.in b/Makefile.in index 17d5522..4cdfa93 100644 --- a/Makefile.in +++ b/Makefile.in @@ -81,7 +81,7 @@ proto: cproto -DMAKE_PROTO \ bitmap.c cache.c channels.c cliprdr.c disk.c mppc.c ewmhints.c \ iso.c licence.c mcs.c orders.c parallel.c printer.c printercache.c \ - pstcache.c rdesktop.c rdp5.c rdp.c rdpdr.c rdpsnd.c rdpsnd_oss.c \ + pstcache.c rdesktop.c rdp5.c rdp.c rdpdr.c rdpsnd.c \ secure.c serial.c tcp.c xclip.c xkeymap.c xwin.c lspci.c seamless.c >> proto.h cat proto.tail >> proto.h diff --git a/rdpsnd.c b/rdpsnd.c index 2536fa9..254b4b1 100644 --- a/rdpsnd.c +++ b/rdpsnd.c @@ -276,7 +276,7 @@ rdpsnd_process(STREAM s) } } -BOOL +inline BOOL rdpsnd_auto_open(void) { static BOOL failed = False; @@ -306,7 +306,7 @@ rdpsnd_auto_open(void) return False; } -void +inline void rdpsnd_register_drivers(char *options) { struct audio_driver **reg; @@ -410,13 +410,13 @@ rdpsnd_show_help(void) } } -inline void +void rdpsnd_play(void) { current_driver->wave_out_play(); } -void +inline void rdpsnd_queue_write(STREAM s, uint16 tick, uint8 index) { struct audio_packet *packet = &packet_queue[queue_hi];