]> git.ipfire.org Git - thirdparty/ntp.git/commitdiff
Only do PCM audio config file processing if we have PCM audio.
authorHarlan Stenn <stenn@ntp.org>
Sun, 24 Feb 2002 03:05:20 +0000 (22:05 -0500)
committerHarlan Stenn <stenn@ntp.org>
Sun, 24 Feb 2002 03:05:20 +0000 (22:05 -0500)
bk: 3c7858706KbnkvNZdPqJWoe9tm52IQ

libntp/audio.c

index b57a66ceb867006825d5e7af075a8bb5da931c3a..6b4ff6899eba46bd137fe7233f2305494b7c7e65 100644 (file)
@@ -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