From ef8140572e0478f7bd6f17f740702810c1fada7c Mon Sep 17 00:00:00 2001 From: Vincent Bernat Date: Thu, 9 Apr 2015 10:31:45 +0200 Subject: [PATCH] lib: don't define __constructor__ twice --- src/lib/atom.h | 1 - 1 file changed, 1 deletion(-) diff --git a/src/lib/atom.h b/src/lib/atom.h index 13c0f401..84a38bf1 100644 --- a/src/lib/atom.h +++ b/src/lib/atom.h @@ -286,6 +286,5 @@ struct atom_builder { void atom_builder_register(struct atom_builder *builder); -#define __constructor__(PRIO) __attribute__ ((constructor( PRIO ))) #define ATOM_BUILDER_REGISTER(NAME, PRIO) __constructor__(200 + PRIO) void init_ ## NAME() { atom_builder_register(& NAME ); } -- 2.39.5