X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=extdef.h;h=8af615c0b443eadb36acecc9d9eaead37280283d;hp=08dae8e33c428c1ebb1ef556b3a2e9e0b16c7940;hb=70fd65a7c6cf99dbb7820bd57398d447dd53467c;hpb=e5335d4f0973a90ef7f7f69095e9db36e3feb0cb diff --git a/extdef.h b/extdef.h index 08dae8e3..8af615c0 100644 --- a/extdef.h +++ b/extdef.h @@ -1,4 +1,6 @@ /* + * This file is part of the PulseView project. + * * Copyright (C) 2012 Joel Holdsworth * * This program is free software; you can redistribute it and/or modify @@ -16,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 begin_element(x) (&x[0]) #define end_element(x) (&x[countof(x)]) -#endif /* _EXTDEF_H */ +#endif // PULSEVIEW_EXTDEF_H