summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
1aa34b5)
Will be changed in a (I hope) near future. Used in madmutt.cpkg
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
fprintf ob "};\n";
(* dump struct init func *)
fprintf ob "};\n";
(* dump struct init func *)
- fprintf ob "\nstatic void %s_init(void)\n{\n" pkg.name;
+ fprintf ob "\nstatic void (%s_init)(void)\n{\n" pkg.name;
List.iter (function (m, _, _) ->
if not (fst m.typ) then
let init, f, l = m.init in
List.iter (function (m, _, _) ->
if not (fst m.typ) then
let init, f, l = m.init in