commit | ec8b4501c7b0bfb286db7789635168d1b84f9105 | [log] [tgz] |
---|---|---|
author | Harald Welte <laforge@gnumonks.org> | Sat Feb 20 20:34:29 2010 +0100 |
committer | Harald Welte <laforge@gnumonks.org> | Sat Feb 20 20:34:29 2010 +0100 |
tree | 0db0073e589513d803d2b5be80580191e215dbe3 |
intial checkin of the libosmocore project
diff --git a/include/osmocore/utils.h b/include/osmocore/utils.h new file mode 100644 index 0000000..198f45a --- /dev/null +++ b/include/osmocore/utils.h
@@ -0,0 +1,6 @@ +#ifndef OSMOCORE_UTIL_H +#define OSMOCORE_UTIL_H + +#define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0])) + +#endif