From 2fad92144ee2e3a818a7510554d2144e46c3a4c8 Mon Sep 17 00:00:00 2001 From: Jan Moskyto Matejka Date: Thu, 21 Jan 2016 15:46:33 +0100 Subject: [PATCH] BSD: fix no-return warning --- sysdep/bsd/krt-sys.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sysdep/bsd/krt-sys.h b/sysdep/bsd/krt-sys.h index cc3f4a77..870cdf2c 100644 --- a/sysdep/bsd/krt-sys.h +++ b/sysdep/bsd/krt-sys.h @@ -46,6 +46,6 @@ static inline void krt_sys_io_init(void) { } static inline void krt_sys_init(struct krt_proto *p UNUSED) { } static inline void krt_sys_postconfig(struct krt_config *x UNUSED) { } -static inline int krt_sys_get_attr(eattr *a UNUSED, byte *buf UNUSED, int buflen UNUSED) { } +static inline int krt_sys_get_attr(eattr *a UNUSED, byte *buf UNUSED, int buflen UNUSED) { return GA_UNKNOWN; } #endif