OSDN Git Service

[Refactor] #37353 コメント整理。 / Refactor comments.
[hengband/hengband.git] / src / z-virt.c
index 9613fac..72303a9 100644 (file)
@@ -57,7 +57,6 @@ vptr rnfree(vptr p, huge len)
        /* Use "free" */
        free ((char*)(p));
 
-       /* Done */
        return (NULL);
 }
 
@@ -137,10 +136,10 @@ vptr ralloc(huge len)
 /*
  * Allocate a constant string, containing the same thing as 'str'
  */
-cptr string_make(cptr str)
+concptr string_make(concptr str)
 {
        huge len = 0;
-       cptr t = str;
+       concptr t = str;
        char *s, *res;
 
        /* Simple sillyness */
@@ -164,7 +163,7 @@ cptr string_make(cptr str)
  * Un-allocate a string allocated above.
  * Depends on no changes being made to the string.
  */
-errr string_free(cptr str)
+errr string_free(concptr str)
 {
        huge len = 0;