From 288c051c55e741bbf9387579ea7f066ab6f754f0 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sun, 7 Sep 2008 13:50:16 +0200 Subject: volume: don't pass "fd" to changeVolumeLevel() The "volume" library shouldn't talk to the client. Move error handling to command.c. --- src/volume.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/volume.h') diff --git a/src/volume.h b/src/volume.h index 85a9eefa8..a92cdd8bb 100644 --- a/src/volume.h +++ b/src/volume.h @@ -33,7 +33,7 @@ void finishVolume(void); int getVolumeLevel(void); -int changeVolumeLevel(int fd, int change, int rel); +int changeVolumeLevel(int change, int rel); void read_sw_volume_state(FILE *fp); -- cgit v1.2.3