diff options
author | mjacob <mjacob@FreeBSD.org> | 2007-06-10 15:45:29 +0000 |
---|---|---|
committer | mjacob <mjacob@FreeBSD.org> | 2007-06-10 15:45:29 +0000 |
commit | 3edec2bcc5c96a4393daca590e2474960555649a (patch) | |
tree | 1bdde58108e14447e1c0d07630999e03eb779255 /sys/dev | |
parent | 4042d45aba411e02e807538e1c6218f695e5457e (diff) | |
download | FreeBSD-src-3edec2bcc5c96a4393daca590e2474960555649a.zip FreeBSD-src-3edec2bcc5c96a4393daca590e2474960555649a.tar.gz |
Remove const type qualifier from a function- gcc4.2 doesn't accept it.
Reviewed by: Ariff
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/sound/usb/uaudio.c | 6 |
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; |