fini.c (main): Avoid automatic aggregate initialization.

* fini.c (main): Avoid automatic aggregate initialization.

	* proj.h: Indent #error directive.

From-SVN: r35294
This commit is contained in:
Kaveh R. Ghazi 2000-07-27 15:58:01 +00:00 committed by Kaveh Ghazi
parent bebe228005
commit f25aa0d32d
3 changed files with 10 additions and 2 deletions

View File

@ -1,3 +1,9 @@
Thu Jul 27 11:50:08 2000 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* fini.c (main): Avoid automatic aggregate initialization.
* proj.h: Indent #error directive.
2000-07-26 Toon Moene <toon@moene.indiv.nluug.nl>
* lang-specs.h: Remove one /dev/null from tradcpp invocation.

View File

@ -234,7 +234,7 @@ int
main (int argc, char **argv)
{
char buf[MAXNAMELEN];
char last_buf[MAXNAMELEN] = "";
char last_buf[MAXNAMELEN];
char kwname[MAXNAMELEN];
char routine[32];
char type[32];
@ -256,6 +256,8 @@ main (int argc, char **argv)
int cc;
bool do_exit = FALSE;
last_buf[0] = '\0';
for (i = 0; ((size_t) i) < ARRAY_SIZE (names); ++i)
{ /* Initialize length/name ordered list roots. */
names[i].first = (name) &names[i];

View File

@ -32,7 +32,7 @@ the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
#include "system.h"
#if (GCC_VERSION < 2000)
#error "You have to use gcc 2.x to build g77 (might be fixed in g77-0.6)."
#error "You have to use gcc 2.x to build g77 (might be fixed in g77-0.6)."
#endif
/* Include files everyone gets. <assert.h> is needed for assert().