mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2026-02-05 04:06:34 -05:00
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>
This commit is contained in:
parent
6ea14c3624
commit
dbb7eca655
5 changed files with 6 additions and 175 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue