Add struct units; as a forward declaration. Pointed out by Marcus Watts.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20670 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -167,6 +167,7 @@ init_generate (const char *filename, const char *base)
|
|||||||
" } \\\n"
|
" } \\\n"
|
||||||
" } while (0)\n\n",
|
" } while (0)\n\n",
|
||||||
headerfile);
|
headerfile);
|
||||||
|
fprintf (headerfile, "struct units;\n\n");
|
||||||
fprintf (headerfile, "#endif\n\n");
|
fprintf (headerfile, "#endif\n\n");
|
||||||
asprintf(&fn, "%s_files", base);
|
asprintf(&fn, "%s_files", base);
|
||||||
if (fn == NULL)
|
if (fn == NULL)
|
||||||
|
Reference in New Issue
Block a user