monitor: Use static inline for functions in header files
authorMarcel Holtmann <marcel@holtmann.org>
Sat, 20 Oct 2018 05:23:11 +0000 (07:23 +0200)
committerhimanshu <h.himanshu@samsung.com>
Tue, 14 Jan 2020 08:53:35 +0000 (14:23 +0530)
Change-Id: Ic65292f68c4e74778780dce4a1163d2e9bef7b9c
Signed-off-by: himanshu <h.himanshu@samsung.com>
monitor/display.h

index 0bb4679..531c260 100755 (executable)
@@ -74,8 +74,8 @@ struct bitfield_data {
        const char *str;
 };
 
-inline uint64_t print_bitfield(int indent, uint64_t val,
-                               const struct bitfield_data *table)
+static inline uint64_t print_bitfield(int indent, uint64_t val,
+                                       const struct bitfield_data *table)
 {
        uint64_t mask = val;
        int i;