2 Copyright © 1995-2019, The AROS Development Team. All rights reserved.
4 Desc: function to write modulename_end.c. Part of genmodule.
8 void writeend(struct config
*cfg
)
13 snprintf(line
, 255, "%s/%s_end.c", cfg
->gendir
, cfg
->modulename
);
14 out
= fopen(line
, "w");
17 fprintf(stderr
, "Could not write %s\n", line
);
24 "#include \"%s_libdefs.h\"\n",
31 "#include \"%s_%s_libdefs.h\"\n",
32 cfg
->modulename
, cfg
->flavour
37 "int GM_UNIQUENAME(End)(void) {return 0;}\n"