summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormjacob <mjacob@FreeBSD.org>2007-06-10 15:45:29 +0000
committermjacob <mjacob@FreeBSD.org>2007-06-10 15:45:29 +0000
commit3edec2bcc5c96a4393daca590e2474960555649a (patch)
tree1bdde58108e14447e1c0d07630999e03eb779255
parent4042d45aba411e02e807538e1c6218f695e5457e (diff)
downloadFreeBSD-src-3edec2bcc5c96a4393daca590e2474960555649a.zip
FreeBSD-src-3edec2bcc5c96a4393daca590e2474960555649a.tar.gz
Remove const type qualifier from a function- gcc4.2 doesn't accept it.
Reviewed by: Ariff
-rw-r--r--sys/dev/sound/usb/uaudio.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/sound/usb/uaudio.c b/sys/dev/sound/usb/uaudio.c
index f857d2f..7b40328 100644
--- a/sys/dev/sound/usb/uaudio.c
+++ b/sys/dev/sound/usb/uaudio.c
@@ -338,8 +338,8 @@ static const char *uaudio_get_terminal_name(int);
static int uaudio_determine_class
(const struct io_terminal *, struct mixerctl *);
#if defined(__FreeBSD__)
-static const int uaudio_feature_name(const struct io_terminal *,
- struct mixerctl *);
+static int uaudio_feature_name(const struct io_terminal *,
+ struct mixerctl *);
#else
static const char *uaudio_feature_name
(const struct io_terminal *, struct mixerctl *);
@@ -1251,7 +1251,7 @@ uaudio_determine_class(const struct io_terminal *iot, struct mixerctl *mix)
}
#if defined(__FreeBSD__)
-const int
+static int
uaudio_feature_name(const struct io_terminal *iot, struct mixerctl *mix)
{
int terminal_type;
OpenPOWER on IntegriCloud