summaryrefslogtreecommitdiff
path: root/flang/runtime/iostat.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'flang/runtime/iostat.cpp')
-rw-r--r--flang/runtime/iostat.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/flang/runtime/iostat.cpp b/flang/runtime/iostat.cpp
index c993b778e9e1..39e224cb0128 100644
--- a/flang/runtime/iostat.cpp
+++ b/flang/runtime/iostat.cpp
@@ -9,6 +9,8 @@
#include "flang/Runtime/iostat.h"
namespace Fortran::runtime::io {
+RT_OFFLOAD_API_GROUP_BEGIN
+
const char *IostatErrorString(int iostat) {
switch (iostat) {
case IostatOk:
@@ -122,4 +124,6 @@ const char *IostatErrorString(int iostat) {
}
}
+RT_OFFLOAD_API_GROUP_END
+
} // namespace Fortran::runtime::io