mirror of
https://github.com/troglobit/libite.git
synced 2026-10-08 16:24:31 +07:00
Update makepath() unit test
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
+2
-2
@@ -4,7 +4,7 @@
|
||||
#include <stdlib.h>
|
||||
#include "check.h"
|
||||
|
||||
int checkpath(char *dir)
|
||||
int checkpath(const char *dir)
|
||||
{
|
||||
char tmp[256];
|
||||
struct stat sb;
|
||||
@@ -20,7 +20,7 @@ int checkpath(char *dir)
|
||||
return 1;
|
||||
}
|
||||
|
||||
int test_makepath(char *dir)
|
||||
int test_makepath(const char *dir)
|
||||
{
|
||||
int ret = makepath(dir);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user