[Liboss-commit] CVS: liboss/include soundcard.h,1.5,1.6
Brought to you by:
thesin
|
From: Alexander S. <mrv...@us...> - 2002-10-23 02:05:17
|
Update of /cvsroot/liboss/liboss/include
In directory usw-pr-cvs1:/tmp/cvs-serv6790/include
Modified Files:
soundcard.h
Log Message:
Now works with C++
Index: soundcard.h
===================================================================
RCS file: /cvsroot/liboss/liboss/include/soundcard.h,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- soundcard.h 23 Oct 2002 01:28:13 -0000 1.5
+++ soundcard.h 23 Oct 2002 02:05:14 -0000 1.6
@@ -38,7 +38,8 @@
#ifndef _SOUNDCARD_H_
#define _SOUNDCARD_H_
-
+#include <sys/cdefs.h>
+__BEGIN_DECLS
/* FIXME: what is this? */
#define SOUND_VERSION 0x030001
@@ -313,5 +314,5 @@
static inline void close (int x) {oss_close(x);}
#endif
-
+__END_DECLS
#endif /* !_SOUNDCARD_H_ */
|