From: Harlan Stenn Date: Sun, 24 Feb 2002 03:05:20 +0000 (-0500) Subject: Only do PCM audio config file processing if we have PCM audio. X-Git-Tag: NTP_4_1_73~185^2~5 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=98bc7fbd76f7ffed4ac8ef10277bf63485019cc2;p=thirdparty%2Fntp.git Only do PCM audio config file processing if we have PCM audio. bk: 3c7858706KbnkvNZdPqJWoe9tm52IQ --- diff --git a/libntp/audio.c b/libntp/audio.c index b57a66ceb8..6b4ff6899e 100644 --- a/libntp/audio.c +++ b/libntp/audio.c @@ -61,6 +61,7 @@ static struct audio_info info; /* audio device info */ #endif /* not PCM_STYLE_SOUND */ static int ctl_fd; /* audio control file descriptor */ +#ifdef PCM_STYLE_SOUND static void audio_config_read P((int, char **, char **)); /* @@ -160,6 +161,7 @@ audio_config_read( fclose(fd); return; } +#endif PCM_STYLE_SOUND /* * audio_init - open and initialize audio device