fix stat_func typedef

Sun, 21 Apr 2019 10:47:33 +0200

author
Olaf Wintermann <olaf.wintermann@gmail.com>
date
Sun, 21 Apr 2019 10:47:33 +0200
changeset 582
7aec3e6cab1f
parent 581
3f9a9c80a2d2
child 583
ec0ec7908b7d

fix stat_func typedef

dav/system.h file | annotate | diff | comparison | revisions
--- a/dav/system.h	Sun Apr 21 10:46:13 2019 +0200
+++ b/dav/system.h	Sun Apr 21 10:47:33 2019 +0200
@@ -68,7 +68,7 @@
 #define SYS_STAT struct stat
 #endif
 
-typedef int(stat_func)(const char*, SYS_STAT *);
+typedef int(*stat_func)(const char*, SYS_STAT *);
 
 void sys_freedirent(SysDirEnt *ent);
 SYS_DIR sys_opendir(const char *path);

mercurial