diff options
Diffstat (limited to 'firmware/microblaze/lib/banal.h')
-rw-r--r-- | firmware/microblaze/lib/banal.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/firmware/microblaze/lib/banal.h b/firmware/microblaze/lib/banal.h index 7b3c71a20..634234350 100644 --- a/firmware/microblaze/lib/banal.h +++ b/firmware/microblaze/lib/banal.h @@ -21,6 +21,8 @@ #include <stdint.h> #include <lwip/ip_addr.h> +#define dimof(x) (sizeof(x)/sizeof(x[0])) + /* * 1's complement sum for IP and UDP headers * @@ -84,7 +86,4 @@ get_int64(const unsigned char *s) return get_uint64(s); } -void -print_ip(struct ip_addr ip); - #endif /* INCLUDED_BANAL_H */ |