From 6aecf1163f94b148c2487f89ad26d02b29dbd01d Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Fri, 13 Jan 2012 18:38:30 +0000 Subject: (memdup) rename as _memdup() in order to prevent a symbol clash with libkmod --- mdk-stage1/probing.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'mdk-stage1/probing.c') diff --git a/mdk-stage1/probing.c b/mdk-stage1/probing.c index 0db75ffbd..6b969300b 100644 --- a/mdk-stage1/probing.c +++ b/mdk-stage1/probing.c @@ -872,7 +872,7 @@ void find_media(enum media_bus bus) tmp[count].name = NULL; count++; - medias = memdup(tmp, sizeof(struct media_info) * count); + medias = _memdup(tmp, sizeof(struct media_info) * count); } @@ -899,8 +899,8 @@ void get_medias(enum media_type media, char *** names, char *** models, enum med tmp_names[count] = NULL; tmp_models[count++] = NULL; - *names = memdup(tmp_names, sizeof(char *) * count); - *models = memdup(tmp_models, sizeof(char *) * count); + *names = _memdup(tmp_names, sizeof(char *) * count); + *models = _memdup(tmp_models, sizeof(char *) * count); } @@ -966,7 +966,7 @@ char ** get_net_devices(void) tmp[i++] = NULL; - return memdup(tmp, sizeof(char *) * i); + return _memdup(tmp, sizeof(char *) * i); } #endif /* DISABLE_NETWORK */ -- cgit v1.2.1