X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=extdef.h;h=1cf14836623709db9663a6622d1c9f82c635ac62;hp=c2a0f16ce46094a5eff1d849d58410eea434b217;hb=22fc985bc6b8a745232179bb9e6aa5538a679aa7;hpb=7d297a015d091b15f3bec4aee9d008b83a3d64af diff --git a/extdef.h b/extdef.h index c2a0f16c..1cf14836 100644 --- a/extdef.h +++ b/extdef.h @@ -14,16 +14,15 @@ * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * along with this program; if not, see . */ -#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