summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2015-01-28 16:21:14 +0100
committerTakashi Iwai <tiwai@suse.de>2015-01-28 16:23:06 +0100
commitdbb7eca6559e970bd015eaa95a9e0525660fa09e (patch)
tree44a01d5e354827c114f0a3c88f0339312243d31c /include
parent6ea14c3624c0cbcf90e7d5859b4af629523b8d82 (diff)
Remove unused hostname resolution in shm plugins and aserver
PCM and control shm plugins and aserver have some codes to resolve the host address and check whether it's a local host although the given address is never used. In addition, the code contains gethostbyname() that is known to be obsoleted. So, let's get rid of all these unused codes. The host configuration item is still accepted (but just ignored) for keeping the compatibility. Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'include')
-rw-r--r--include/aserver.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/aserver.h b/include/aserver.h
index 25868324..5da2e544 100644
--- a/include/aserver.h
+++ b/include/aserver.h
@@ -23,7 +23,6 @@
#include "../src/control/control_local.h"
int snd_receive_fd(int sock, void *data, size_t len, int *fd);
-int snd_is_local(struct hostent *hent);
typedef enum _snd_dev_type {
SND_DEV_TYPE_PCM,