From 7927df3a65d40edb2162030ca3f1af8c2bbfdfb0 Mon Sep 17 00:00:00 2001 From: levlam Date: Sat, 3 Feb 2018 02:54:54 +0300 Subject: [PATCH] Fix C typedef syntax. GitOrigin-RevId: 724e9c778326e8b6f2948d6a4ad0c683c2faf890 --- td/telegram/td_log.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/td/telegram/td_log.h b/td/telegram/td_log.h index 87ec2606e..51ab6393a 100644 --- a/td/telegram/td_log.h +++ b/td/telegram/td_log.h @@ -58,7 +58,7 @@ TDJSON_EXPORT void td_set_log_verbosity_level(int new_verbosity_level); * * \param error_message Null-terminated string with a description of a happened fatal error. */ -using td_log_fatal_error_callback_ptr = void (*)(const char *error_message); +typedef void (*td_log_fatal_error_callback_ptr)(const char *error_message); /** * Sets the callback that will be called when a fatal error happens.