]> git.ipfire.org Git - thirdparty/bird.git/commitdiff
Add some return value to non-void function
authorPavel Tvrdík <pawel.tvrdik@gmail.com>
Thu, 22 Oct 2015 14:33:27 +0000 (16:33 +0200)
committerPavel Tvrdík <pawel.tvrdik@gmail.com>
Thu, 22 Oct 2015 14:33:27 +0000 (16:33 +0200)
sysdep/bsd/krt-sys.h

index 2c6e35c537a1453c7c6b0ebe85a2c44ba3d1b2e3..25454b2df113b235716822fab90f98d34152a767 100644 (file)
@@ -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