From 426da8be0db33405b0cfe53108b65040623972f0 Mon Sep 17 00:00:00 2001 From: Kimplul Date: Sat, 11 Jun 2022 19:08:18 +0300 Subject: continue documentation --- lib/ubsan.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/ubsan.c') diff --git a/lib/ubsan.c b/lib/ubsan.c index bbefdad..f296b7a 100644 --- a/lib/ubsan.c +++ b/lib/ubsan.c @@ -151,8 +151,8 @@ struct invalid_builtin_data { * @param message Message to be printed. * @param loc Location information. */ -static void print_location(const char *message, - struct source_location loc) +inline static void print_location(const char *message, + const struct source_location loc) { bug("ubsan: %s at file %s, line %ju, column %ju\n", message, loc.file, (uintmax_t)loc.line, (uintmax_t)loc.column); -- cgit v1.3