added missing GPL headers
[swftools.git] / lib / as3 / mklib.c
index b243ffc..f32c1f7 100644 (file)
@@ -1,8 +1,8 @@
-/* code.c
+/* mklib.c
 
    File to generate builtin.c
 
-   Copyright (c) 2008 Matthias Kramm <kramm@quiss.org>
+   Copyright (c) 2008,2009 Matthias Kramm <kramm@quiss.org>
  
    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
@@ -125,6 +125,7 @@ char*mktype(slotinfo_t*s)
     } else if(s->kind == INFOTYPE_VAR) {
         return "varinfo_t";
     }
+    return "**ERROR**";
 }
 
 void write_slotinfo(FILE*fi, slotinfo_t*s, char*id, char*prefix);
@@ -310,5 +311,5 @@ int main()
     fprintf(fi, "    _Infinity_constant.f = __builtin_inf();\n");
     fprintf(fi, "    return d;\n");
     fprintf(fi, "}\n");
-
+    return 0;
 }