X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=extdef.h;h=0e928657f811e55b355aef7ed3305172659fe923;hp=c2a0f16ce46094a5eff1d849d58410eea434b217;hb=238419770d6bc2d5e4db3dd6e15fec32eb2a3dc6;hpb=7d297a015d091b15f3bec4aee9d008b83a3d64af diff --git a/extdef.h b/extdef.h index c2a0f16c..0e928657 100644 --- a/extdef.h +++ b/extdef.h @@ -18,12 +18,12 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ -#ifndef _EXTDEF_H -#define _EXTDEF_H +#ifndef PULSEVIEW_EXTDEF_H +#define PULSEVIEW_EXTDEF_H -#define countof(x) (sizeof(x)/sizeof(x[0])) +#define countof(x) (sizeof(x) / sizeof(x[0])) #define begin_element(x) (&x[0]) #define end_element(x) (&x[countof(x)]) -#endif /* _EXTDEF_H */ +#endif // PULSEVIEW_EXTDEF_H