]> sigrok.org Git - pulseview.git/blobdiff - extdef.h
Tests: Add another unit test for Segment class
[pulseview.git] / extdef.h
index 8af615c0b443eadb36acecc9d9eaead37280283d..1cf14836623709db9663a6622d1c9f82c635ac62 100644 (file)
--- a/extdef.h
+++ b/extdef.h
  * 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 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)])