summaryrefslogtreecommitdiff
path: root/usr.bin/sndiod/sndiod.c
diff options
context:
space:
mode:
authorAlexandre Ratchov <ratchov@cvs.openbsd.org>2013-11-18 17:37:46 +0000
committerAlexandre Ratchov <ratchov@cvs.openbsd.org>2013-11-18 17:37:46 +0000
commit2af9e0bad6b3f9144caf8713aa3ec8df97d3dcd1 (patch)
tree0e5a8b881334347a701069968cee73fa39699b49 /usr.bin/sndiod/sndiod.c
parentf22b9aa4bcdd430d10b8b094f5e4dbe3199f7992 (diff)
add missing prototypes
Diffstat (limited to 'usr.bin/sndiod/sndiod.c')
-rw-r--r--usr.bin/sndiod/sndiod.c18
1 files changed, 17 insertions, 1 deletions
diff --git a/usr.bin/sndiod/sndiod.c b/usr.bin/sndiod/sndiod.c
index 4b38cb0fedf..ce83b5199c3 100644
--- a/usr.bin/sndiod/sndiod.c
+++ b/usr.bin/sndiod/sndiod.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sndiod.c,v 1.4 2012/12/01 12:06:14 ratchov Exp $ */
+/* $OpenBSD: sndiod.c,v 1.5 2013/11/18 17:37:45 ratchov Exp $ */
/*
* Copyright (c) 2008-2012 Alexandre Ratchov <alex@caoua.org>
*
@@ -85,6 +85,22 @@
#define DEFAULT_DEV "rsnd/0"
#endif
+void sigint(int);
+void opt_ch(int *, int *);
+void opt_enc(struct aparams *);
+int opt_mmc(void);
+int opt_onoff(void);
+int getword(char *, char **);
+unsigned int opt_mode(void);
+void getbasepath(char *, size_t);
+void setsig(void);
+void unsetsig(void);
+void privdrop(void);
+struct dev *mkdev(char *, struct aparams *,
+ int, int, int, int, int, int);
+struct opt *mkopt(char *, struct dev *,
+ int, int, int, int, int, int, int, int);
+
unsigned int log_level = 0;
volatile sig_atomic_t quit_flag = 0;