]> git.ipfire.org Git - thirdparty/bird.git/blobdiff - sysdep/bsd/krt-sys.h
BSD: fix no-return warning
[thirdparty/bird.git] / sysdep / bsd / krt-sys.h
index cc3f4a774b8c940f41e8f10bea0fb7488a2f02f1..870cdf2ce9ae5bfc02793e05b56deb4944be4353 100644 (file)
@@ -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