diff options
author | Josh Blum <josh@joshknows.com> | 2010-11-14 13:38:42 -0800 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2010-12-11 18:43:08 -0800 |
commit | 6f2d1b519a14d75a1b6529c6e7738e41329f42c8 (patch) | |
tree | 24154c80eb0abb4d0b0852e21125903128442fc1 /firmware/microblaze/lib/banal.h | |
parent | e436016638b4d2b81d50ee2de98c271615eee806 (diff) | |
download | uhd-6f2d1b519a14d75a1b6529c6e7738e41329f42c8.tar.gz uhd-6f2d1b519a14d75a1b6529c6e7738e41329f42c8.tar.bz2 uhd-6f2d1b519a14d75a1b6529c6e7738e41329f42c8.zip |
usrp2: pretty much gutted the buffer pool stuff with other misc changes, not in working shape
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 */ |