diff options
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/ubsan.c | 4 |
1 files changed, 2 insertions, 2 deletions
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); |
