aboutsummaryrefslogtreecommitdiffstats
path: root/nihil/open_file.ccm
diff options
context:
space:
mode:
Diffstat (limited to 'nihil/open_file.ccm')
-rw-r--r--nihil/open_file.ccm4
1 files changed, 2 insertions, 2 deletions
diff --git a/nihil/open_file.ccm b/nihil/open_file.ccm
index a399474..0266177 100644
--- a/nihil/open_file.ccm
+++ b/nihil/open_file.ccm
@@ -17,8 +17,8 @@ namespace nihil {
/*
* Open the given file and return an fd for it.
*/
-auto open_file(std::filesystem::path const &filename,
- int flags, int mode = 0777)
+export auto open_file(std::filesystem::path const &filename,
+ int flags, int mode = 0777)
-> std::expected<fd, std::error_code>;
} // namespace nihil