blob: 1341c6b907ad29d19864da6ddbb34815405c2d87 [file] [log] [blame]
// SPDX-License-Identifier: GPL-2.0-or-later
/*
* Copyright (c) 2019 Linaro Limited. All rights reserved.
* Author: Sumit Garg <sumit.garg@linaro.org>
*/
#ifndef SYNCFS_H
#define SYNCFS_H
#include <sys/types.h>
#include "config.h"
#include "lapi/syscalls.h"
#if !defined(HAVE_SYNCFS)
int syncfs(int fd)
{
return tst_syscall(__NR_syncfs, fd);
}
#endif
#endif /* SYNCFS_H */