OLD | NEW |
1 /* $Id: genmodule.c 1827 2007-04-22 05:09:49Z peter $ | 1 /* |
2 * | 2 * |
3 * Generate module.c from module.in and Makefile.am or Makefile. | 3 * Generate module.c from module.in and Makefile.am or Makefile. |
4 * | 4 * |
5 * Copyright (C) 2004-2007 Peter Johnson | 5 * Copyright (C) 2004-2007 Peter Johnson |
6 * | 6 * |
7 * Redistribution and use in source and binary forms, with or without | 7 * Redistribution and use in source and binary forms, with or without |
8 * modification, are permitted provided that the following conditions | 8 * modification, are permitted provided that the following conditions |
9 * are met: | 9 * are met: |
10 * 1. Redistributions of source code must retain the above copyright | 10 * 1. Redistributions of source code must retain the above copyright |
11 * notice, this list of conditions and the following disclaimer. | 11 * notice, this list of conditions and the following disclaimer. |
(...skipping 208 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
220 | 220 |
221 fclose(in); | 221 fclose(in); |
222 fclose(out); | 222 fclose(out); |
223 | 223 |
224 for (i=0; i<num_modules; i++) | 224 for (i=0; i<num_modules; i++) |
225 free(modules[i]); | 225 free(modules[i]); |
226 free(str); | 226 free(str); |
227 | 227 |
228 return EXIT_SUCCESS; | 228 return EXIT_SUCCESS; |
229 } | 229 } |
OLD | NEW |