Skip to content

Commit 2c6793a

Browse files
committed
[flang][NFC] Restore I/O runtime API header name
flang/include/flang/Runtime/io-api.h was changed into io-api-consts.h, then wrapped into a new io-api.h that includes io-api-consts.h, does some redundant includes and declarations, and then declares the prototype of one function, InquiryKeywordHashDecode. Make that function static in io-stmt.cpp prior to its sole call site, then undo the renaming, to reduce confusion and redundancy.
1 parent 6aeae62 commit 2c6793a

File tree

6 files changed

+340
-377
lines changed

6 files changed

+340
-377
lines changed

flang/include/flang/Optimizer/Builder/Runtime/RTBuilder.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
#include "flang/Optimizer/Builder/FIRBuilder.h"
2222
#include "flang/Optimizer/Dialect/FIRDialect.h"
2323
#include "flang/Optimizer/Dialect/FIRType.h"
24-
#include "flang/Runtime/io-api-consts.h"
24+
#include "flang/Runtime/io-api.h"
2525
#include "flang/Runtime/reduce.h"
2626
#include "flang/Support/Fortran.h"
2727
#include "mlir/IR/BuiltinTypes.h"

flang/include/flang/Runtime/io-api-consts.h

Lines changed: 0 additions & 368 deletions
This file was deleted.

0 commit comments

Comments
 (0)