aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libgrust/libproc_macro/proc_macro.cc2
-rw-r--r--libgrust/libproc_macro/registration.h3
2 files changed, 2 insertions, 3 deletions
diff --git a/libgrust/libproc_macro/proc_macro.cc b/libgrust/libproc_macro/proc_macro.cc
index b1e108e..293fc957 100644
--- a/libgrust/libproc_macro/proc_macro.cc
+++ b/libgrust/libproc_macro/proc_macro.cc
@@ -60,5 +60,5 @@ bridge_is_available ()
} // namespace ProcMacro
ProcMacro::from_str_function_t __gccrs_proc_macro_from_str_fn = nullptr;
-ProcMacro::is_available_t __gccrs_proc_macro_is_available_fn
+ProcMacro::BridgeState __gccrs_proc_macro_is_available_fn
= ProcMacro::BridgeState::Unavailable;
diff --git a/libgrust/libproc_macro/registration.h b/libgrust/libproc_macro/registration.h
index 0074e99..aba7edd 100644
--- a/libgrust/libproc_macro/registration.h
+++ b/libgrust/libproc_macro/registration.h
@@ -30,11 +30,10 @@
namespace ProcMacro {
using from_str_function_t = ProcMacro::TokenStream (*) (std::string &, bool &);
-using is_available_t = ProcMacro::BridgeState;
} // namespace ProcMacro
extern "C" ProcMacro::from_str_function_t __gccrs_proc_macro_from_str_fn;
-extern "C" ProcMacro::is_available_t __gccrs_proc_macro_is_available_fn;
+extern "C" ProcMacro::BridgeState __gccrs_proc_macro_is_available_fn;
#endif /* !REGISTRATION_H */