summaryrefslogtreecommitdiff
path: root/snd/sndfaillinux.c
diff options
context:
space:
mode:
Diffstat (limited to 'snd/sndfaillinux.c')
-rw-r--r--snd/sndfaillinux.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/snd/sndfaillinux.c b/snd/sndfaillinux.c
new file mode 100644
index 0000000..91ba43f
--- /dev/null
+++ b/snd/sndfaillinux.c
@@ -0,0 +1,13 @@
+/* sndfaillinux.c -- version of sndfail that prints a message */
+
+/* this should not be compiled into an snd library! handling snd_fail
+ * is application specific
+ */
+
+#include "stdio.h"
+
+void snd_fail(char *msg)
+{
+ printf("ERROR: %s\n", msg);
+}
+