From: Pavel TvrdĂ­k Date: Thu, 22 Oct 2015 14:33:27 +0000 (+0200) Subject: Add some return value to non-void function X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f8500e2ffd7f40d87c66bbc8815d3eadbcab99cb;p=thirdparty%2Fbird.git Add some return value to non-void function --- diff --git a/sysdep/bsd/krt-sys.h b/sysdep/bsd/krt-sys.h index 2c6e35c53..25454b2df 100644 --- a/sysdep/bsd/krt-sys.h +++ b/sysdep/bsd/krt-sys.h @@ -44,7 +44,7 @@ struct krt_state { static inline void krt_sys_init(struct krt_proto *p 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 0; } #endif