commit da660df47e00123e948486c05fac0681db9ae9a8 from: Benjamin Stürz date: Sat Nov 16 20:31:38 2024 UTC make: fix warning commit - 0b6a92bdb4a65cea5041137d888fe3f401464716 commit + da660df47e00123e948486c05fac0681db9ae9a8 blob - 00b51c7d57c39d636b3cabf3feefde5a7c998661 blob + 03da9ddecb31164889973af7c60ec0ff2c9cbda6 --- make/make.c +++ make/make.c @@ -258,18 +258,6 @@ struct path *old, *comp; } return p; -} - -char * -path_cat_str (dir, file) -struct path *dir; -char *file; -{ - str_reset (); - path_write (dir); - str_push ('/'); - str_push_str (file); - return str_get (); } path_write (p) @@ -316,6 +304,18 @@ struct path *p; free (s); return t; +} + +char * +path_cat_str (dir, file) +struct path *dir; +char *file; +{ + str_reset (); + path_write (dir); + str_push ('/'); + str_push_str (file); + return str_get (); } struct path *