xref: /openbsd-src/sys/dev/pci/drm/include/linux/file.h (revision 99fd087599a8791921855f21bd7e36130f39aadc)
1 /* Public domain. */
2 
3 #ifndef _LINUX_FILE_H
4 #define _LINUX_FILE_H
5 
6 /* both for printf */
7 #include <sys/types.h>
8 #include <sys/systm.h>
9 
10 #define fput(a)
11 #define fd_install(a, b)
12 #define put_unused_fd(a)
13 
14 static inline int
15 get_unused_fd_flags(unsigned int flags)
16 {
17 	printf("%s: stub\n", __func__);
18 	return -1;
19 }
20 
21 #endif
22