]> sigrok.org Git - pulseview.git/blobdiff - extdef.h
Add a tooltip for the "Show/hide decoder trace" icon.
[pulseview.git] / extdef.h
index 08dae8e33c428c1ebb1ef556b3a2e9e0b16c7940..1cf14836623709db9663a6622d1c9f82c635ac62 100644 (file)
--- a/extdef.h
+++ b/extdef.h
@@ -1,4 +1,6 @@
 /*
+ * This file is part of the PulseView project.
+ *
  * Copyright (C) 2012 Joel Holdsworth <joel@airwebreathe.org.uk>
  *
  * This program is free software; you can redistribute it and/or modify
  * 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 <http://www.gnu.org/licenses/>.
  */
 
-#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