-
-/*
- * getcpy.c -- copy a string in managed memory
+/* getcpy.c -- copy a string in managed memory
*
* THIS IS OBSOLETE. NEED TO REPLACE ALL OCCURRENCES
* OF GETCPY WITH STRDUP. BUT THIS WILL REQUIRE
* complete copyright information.
*/
-#include <h/mh.h>
-#include <h/utils.h>
+#include "h/mh.h"
+#include "getcpy.h"
+#include "h/utils.h"
/* Return malloc'd copy of str, or of "" if NULL, exit on failure. */
-char *getcpy(const char *str)
+char *
+getcpy(const char *str)
{
if (str)
return mh_xstrdup(str);