X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/177f020f122827214159c46dcfe7ded1e3c8d1c3..d9c88cd101a63778a85dfd55a01a3af0db2465c9:/sbr/getcpy.c diff --git a/sbr/getcpy.c b/sbr/getcpy.c index 615f307f..42779e02 100644 --- a/sbr/getcpy.c +++ b/sbr/getcpy.c @@ -9,11 +9,13 @@ * complete copyright information. */ -#include -#include +#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);