summaryrefslogtreecommitdiff
path: root/sysdep/bsd/krt-sys.h
diff options
context:
space:
mode:
authorJan Moskyto Matejka <mq@ucw.cz>2016-01-21 15:46:33 +0100
committerJan Moskyto Matejka <mq@ucw.cz>2016-01-21 15:47:04 +0100
commit2fad92144ee2e3a818a7510554d2144e46c3a4c8 (patch)
tree3ffa40f1e37f7baa2a4e9461c3d2578446f3cfa1 /sysdep/bsd/krt-sys.h
parent3f35816136f1b57067d5ce426b031e4e3583085c (diff)
BSD: fix no-return warning
Diffstat (limited to 'sysdep/bsd/krt-sys.h')
-rw-r--r--sysdep/bsd/krt-sys.h2
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