Skip to content

Commit 1c90f9d

Browse files
William Douglasbryteise
authored andcommitted
Workaround missing __xstat prototype
1 parent b3139b6 commit 1c90f9d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/virmockstathelpers.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@ static int (*real___xstat)(int ver, const char *path, struct stat *sb);
104104
#endif
105105
#ifdef MOCK___XSTAT64
106106
static int (*real___xstat64)(int ver, const char *path, struct stat64 *sb);
107+
int __xstat64(int ver, const char * path, struct stat64 * stat_buf);
107108
#endif
108109
#ifdef MOCK_LSTAT
109110
static int (*real_lstat)(const char *path, struct stat *sb);
@@ -116,6 +117,7 @@ static int (*real___lxstat)(int ver, const char *path, struct stat *sb);
116117
#endif
117118
#ifdef MOCK___LXSTAT64
118119
static int (*real___lxstat64)(int ver, const char *path, struct stat64 *sb);
120+
int __lxstat64(int ver, const char * path, struct stat64 * stat_buf);
119121
#endif
120122

121123
static bool init;

0 commit comments

Comments
 (0)