AC_DEFUN([LC_SRC_NFS_FILLDIR_USE_CTX], [
LB2_LINUX_TEST_SRC([filldir_ctx], [
#include <linux/fs.h>
- ],[
+
+ int filldir(struct dir_context *ctx, const char* name,
+ int i, loff_t off, u64 tmp, unsigned temp);
int filldir(struct dir_context *ctx, const char* name,
int i, loff_t off, u64 tmp, unsigned temp)
{
return 0;
}
-
+ ],[
struct dir_context ctx = {
.actor = filldir,
};
AC_DEFUN([LC_SRC_NFS_FILLDIR_USE_CTX_RETURN_BOOL], [
LB2_LINUX_TEST_SRC([filldir_ctx_return_bool], [
#include <linux/fs.h>
- ],[
+
+ bool filldir(struct dir_context *ctx, const char* name,
+ int i, loff_t off, u64 tmp, unsigned temp);
bool filldir(struct dir_context *ctx, const char* name,
int i, loff_t off, u64 tmp, unsigned temp)
{
return 0;
}
-
+ ],[
struct dir_context ctx = {
.actor = filldir,
};