barectf.c.j2: _ALIGN(): make it explicit that `_at_var` is a var. name
authorPhilippe Proulx <eeppeliteloop@gmail.com>
Thu, 3 Sep 2020 14:39:02 +0000 (10:39 -0400)
committerPhilippe Proulx <eeppeliteloop@gmail.com>
Thu, 3 Sep 2020 14:39:21 +0000 (10:39 -0400)
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
barectf/templates/c/barectf.c.j2

index 5aa76597650e910b26ac6be3c9fd1e774118ede7..88573e1b02a78f993e7712c050d7b857983056e3 100644 (file)
@@ -39,9 +39,9 @@
 #include "{{ header_file_name }}"
 #include "{{ bitfield_header_file_name }}"
 
-#define _ALIGN(_at, _align)                                    \
-       do {                                                    \
-               (_at) = ((_at) + ((_align) - 1)) & -(_align);   \
+#define _ALIGN(_at_var, _align)                                                \
+       do {                                                            \
+               (_at_var) = ((_at_var) + ((_align) - 1)) & -(_align);   \
        } while (0)
 
 #ifdef __cplusplus
This page took 0.023228 seconds and 4 git commands to generate.