zig

fork of https://codeberg.org/ziglang/zig
Log | Files | Refs | README | LICENSE

commit 6057513cc753905a592e4810e6eb79ffb397cf73 (tree)
parent dfada0cc77cb77a337baa784e4e96c7a94d217bb
Author: emekoi <emekankurumeh@outlook.com>
Date:   Sat, 27 Apr 2019 16:17:07 -0500

fixed visibility of zig_libc_cc_print_file_name

Diffstat:
Msrc/libc_installation.cpp | 2+-
Msrc/libc_installation.hpp | 2++
2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/libc_installation.cpp b/src/libc_installation.cpp @@ -273,7 +273,7 @@ static Error zig_libc_find_native_include_dir_posix(ZigLibCInstallation *self, b return ErrorFileNotFound; } -static Error zig_libc_cc_print_file_name(const char *o_file, Buf *out, bool want_dirname, bool verbose) { +Error zig_libc_cc_print_file_name(const char *o_file, Buf *out, bool want_dirname, bool verbose) { const char *cc_exe = getenv("CC"); cc_exe = (cc_exe == nullptr) ? CC_EXE : cc_exe; ZigList<const char *> args = {}; diff --git a/src/libc_installation.hpp b/src/libc_installation.hpp @@ -30,4 +30,6 @@ void zig_libc_render(ZigLibCInstallation *self, FILE *file); Error ATTRIBUTE_MUST_USE zig_libc_find_native(ZigLibCInstallation *self, bool verbose); +Error zig_libc_cc_print_file_name(const char *o_file, Buf *out, bool want_dirname, bool verbose); + #endif