X-Git-Url: http://git.itanic.dy.fi/?p=log-plotter;a=blobdiff_plain;f=utils.h;fp=utils.h;h=8b5152ef8c4e6158f70b60822a8efe6e07ea9e72;hp=0000000000000000000000000000000000000000;hb=4daad2abbacb183bc39d7ef1220e86afe6068b5d;hpb=84ab13170c021724847f80663c9136ec8badac57 diff --git a/utils.h b/utils.h new file mode 100644 index 0000000..8b5152e --- /dev/null +++ b/utils.h @@ -0,0 +1,6 @@ +#ifndef _UTILS_H +#define _UTILS_H + +#define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0])) + +#endif