patch-1.3.63 linux/drivers/sound/patmgr.c

Next file: linux/drivers/sound/pss.c
Previous file: linux/drivers/sound/pas2_pcm.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.62/linux/drivers/sound/patmgr.c linux/drivers/sound/patmgr.c
@@ -2,8 +2,9 @@
  * sound/patmgr.c
  *
  * The patch maneger interface for the /dev/sequencer
- *
- * Copyright by Hannu Savolainen 1993
+ */
+/*
+ * Copyright by Hannu Savolainen 1993-1996
  *
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions are
@@ -24,8 +25,9 @@
  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  * SUCH DAMAGE.
- *
  */
+#include <linux/config.h>
+
 
 #define PATMGR_C
 #include "sound_config.h"
@@ -91,7 +93,7 @@
 }
 
 int
-pmgr_read (int dev, struct fileinfo *file, snd_rw_buf * buf, int count)
+pmgr_read (int dev, struct fileinfo *file, char *buf, int count)
 {
   unsigned long   flags;
   int             ok = 0;
@@ -133,7 +135,7 @@
 }
 
 int
-pmgr_write (int dev, struct fileinfo *file, const snd_rw_buf * buf, int count)
+pmgr_write (int dev, struct fileinfo *file, const char *buf, int count)
 {
   unsigned long   flags;
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this