diff options
author | Jan Moskyto Matejka <mq@ucw.cz> | 2016-01-21 15:46:33 +0100 |
---|---|---|
committer | Jan Moskyto Matejka <mq@ucw.cz> | 2016-01-21 15:47:04 +0100 |
commit | 2fad92144ee2e3a818a7510554d2144e46c3a4c8 (patch) | |
tree | 3ffa40f1e37f7baa2a4e9461c3d2578446f3cfa1 /sysdep | |
parent | 3f35816136f1b57067d5ce426b031e4e3583085c (diff) |
BSD: fix no-return warning
Diffstat (limited to 'sysdep')
-rw-r--r-- | sysdep/bsd/krt-sys.h | 2 |
1 files changed, 1 insertions, 1 deletions
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 |