Skip to content

Commit 4ecc26f

Browse files
author
H. Peter Anvin
committed
tools/virtio: replace "__auto_type" with "auto"
Replace one instance of "__auto_type" with "auto" in: tools/virtio/linux/compiler.h This file *does* include <linux/compiler_types.h> directly, so there is no need to duplicate the definition. Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>
1 parent c278d72 commit 4ecc26f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tools/virtio/linux/compiler.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
*/
3232
#define data_race(expr) \
3333
({ \
34-
__auto_type __v = (expr); \
34+
auto __v = (expr); \
3535
__v; \
3636
})
3737

0 commit comments

Comments
 (0)