]> diplodocus.org Git - nmh/blobdiff - sbr/getcpy.c
Make APPEND work; still needs some changes, though.
[nmh] / sbr / getcpy.c
index 32c8db4..003971b 100644 (file)
@@ -1,6 +1,4 @@
-
-/*
- * 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
@@ -15,7 +13,8 @@
 #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);