projects
/
pulseview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix #1132 by passing segment IDs, not segment instances
[pulseview.git]
/
extdef.h
diff --git
a/extdef.h
b/extdef.h
index 8af615c0b443eadb36acecc9d9eaead37280283d..1cf14836623709db9663a6622d1c9f82c635ac62 100644
(file)
--- a/
extdef.h
+++ b/
extdef.h
@@
-14,14
+14,13
@@
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* 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
*/
#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)])
#define begin_element(x) (&x[0])
#define end_element(x) (&x[countof(x)])