remove pointless strdup_malloc
[ust.git] / libustcomm / ustcomm.c
index 5dfd2a8c946183649dd529f67057c3e3ef74c063..8324f21decad53d79a8659657bb2d000e90c914b 100644 (file)
@@ -86,20 +86,6 @@ static int mkdir_p(const char *path, mode_t mode)
        return retval;
 }
 
-char *strdup_malloc(const char *s)
-{
-       char *retval;
-
-       if(s == NULL)
-               return NULL;
-
-       retval = (char *) malloc(strlen(s)+1);
-
-       strcpy(retval, s);
-
-       return retval;
-}
-
 static int signal_process(pid_t pid)
 {
        return 0;
This page took 0.022994 seconds and 4 git commands to generate.