* Moved os-compatibility.c to util * Added header under util * Removed static since it isn't needed (i think so) * Adjusted meson.build to include lib_wlr Improved some codestyle * Added guard to os-compatibility.h * Fixed typo in include statment Adjusted Guard * Changed guard to _WLR_UTIL_OS_COMPATIBILITYmaster
parent
5d7eb438d9
commit
cef6d75491
@ -0,0 +1,12 @@
|
|||||||
|
#ifndef _WLR_UTIL_OS_COMPATIBILITY_H
|
||||||
|
#define _WLR_UTIL_OS_COMPATIBILITY_H
|
||||||
|
|
||||||
|
int os_fd_set_cloexec(int fd);
|
||||||
|
|
||||||
|
int set_cloexec_or_close(int fd);
|
||||||
|
|
||||||
|
int create_tmpfile_cloexec(char *tmpname);
|
||||||
|
|
||||||
|
int os_create_anonymous_file(off_t size);
|
||||||
|
|
||||||
|
#endif
|
Loading…
Reference in new issue