diff options
-rw-r--r-- | gcc/ChangeLog | 18 | ||||
-rw-r--r-- | gcc/cccp.c | 26 | ||||
-rw-r--r-- | gcc/collect2.c | 4 | ||||
-rw-r--r-- | gcc/cppmain.c | 4 | ||||
-rw-r--r-- | gcc/gcc.c | 4 | ||||
-rw-r--r-- | gcc/gcov.c | 4 | ||||
-rw-r--r-- | gcc/protoize.c | 4 | ||||
-rw-r--r-- | gcc/toplev.c | 4 |
8 files changed, 43 insertions, 25 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index fb55a74..1a2388a 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,21 @@ +Thu Mar 18 10:14:18 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> + + * cccp.c (default_include): Initialize structure memebers. + (pass_thru_directive): Change the type of 'keyword_length' to int. + (main): Cast `bindtextdomain' and `textdomain' to (void). + + * collect2.c (main): Likewise. + + * cppmain.c (main): Likewise. + + * gcc.c (main): Likewise. + + * gcov.c (main): Likewise. + + * protoize.c (main): Likewise. + + * toplev.c (main): Likewise. + 1999-03-18 Gavin Romig-Koch <gavin@cygnus.com> * config/mips/mips.c (mips_explicit_type_size_string): Correct @@ -385,42 +385,42 @@ static struct default_include { #else = { /* Pick up GNU C++ specific include files. */ - { GPLUSPLUS_INCLUDE_DIR, "G++", 1, 1 }, + { GPLUSPLUS_INCLUDE_DIR, "G++", 1, 1, 0 }, #ifdef CROSS_COMPILE /* This is the dir for fixincludes. Put it just before the files that we fix. */ - { GCC_INCLUDE_DIR, "GCC", 0, 0 }, + { GCC_INCLUDE_DIR, "GCC", 0, 0, 0 }, /* For cross-compilation, this dir name is generated automatically in Makefile.in. */ - { CROSS_INCLUDE_DIR, "GCC", 0, 0 }, + { CROSS_INCLUDE_DIR, "GCC", 0, 0, 0 }, #ifdef TOOL_INCLUDE_DIR /* This is another place that the target system's headers might be. */ - { TOOL_INCLUDE_DIR, "BINUTILS", 0, 0 }, + { TOOL_INCLUDE_DIR, "BINUTILS", 0, 0, 0 }, #endif #else /* not CROSS_COMPILE */ #ifdef LOCAL_INCLUDE_DIR /* This should be /usr/local/include and should come before the fixincludes-fixed header files. */ - { LOCAL_INCLUDE_DIR, 0, 0, 1 }, + { LOCAL_INCLUDE_DIR, 0, 0, 1, 0 }, #endif #ifdef TOOL_INCLUDE_DIR /* This is here ahead of GCC_INCLUDE_DIR because assert.h goes here. Likewise, behind LOCAL_INCLUDE_DIR, where glibc puts its assert.h. */ - { TOOL_INCLUDE_DIR, "BINUTILS", 0, 0 }, + { TOOL_INCLUDE_DIR, "BINUTILS", 0, 0, 0 }, #endif /* This is the dir for fixincludes. Put it just before the files that we fix. */ - { GCC_INCLUDE_DIR, "GCC", 0, 0 }, + { GCC_INCLUDE_DIR, "GCC", 0, 0, 0 }, /* Some systems have an extra dir of include files. */ #ifdef SYSTEM_INCLUDE_DIR - { SYSTEM_INCLUDE_DIR, 0, 0, 0 }, + { SYSTEM_INCLUDE_DIR, 0, 0, 0, 0 }, #endif #ifndef STANDARD_INCLUDE_COMPONENT #define STANDARD_INCLUDE_COMPONENT 0 #endif - { STANDARD_INCLUDE_DIR, STANDARD_INCLUDE_COMPONENT, 0, 0 }, + { STANDARD_INCLUDE_DIR, STANDARD_INCLUDE_COMPONENT, 0, 0, 0 }, #endif /* not CROSS_COMPILE */ - { 0, 0, 0, 0 } + { 0, 0, 0, 0, 0 } }; #endif /* no INCLUDE_DEFAULTS */ @@ -1250,8 +1250,8 @@ main (argc, argv) #ifdef HAVE_LC_MESSAGES setlocale (LC_MESSAGES, ""); #endif - bindtextdomain (PACKAGE, localedir); - textdomain (PACKAGE); + (void) bindtextdomain (PACKAGE, localedir); + (void) textdomain (PACKAGE); progname = base_name (argv[0]); @@ -5738,7 +5738,7 @@ pass_thru_directive (buf, limit, op, keyword) FILE_BUF *op; struct directive *keyword; { - register unsigned keyword_length = keyword->length; + register int keyword_length = keyword->length; check_expand (op, 1 + keyword_length + (limit - buf)); *op->bufp++ = '#'; diff --git a/gcc/collect2.c b/gcc/collect2.c index e51ce71d..f7a6bc8 100644 --- a/gcc/collect2.c +++ b/gcc/collect2.c @@ -1002,8 +1002,8 @@ main (argc, argv) #ifdef HAVE_LC_MESSAGES setlocale (LC_MESSAGES, ""); #endif - bindtextdomain (PACKAGE, localedir); - textdomain (PACKAGE); + (void) bindtextdomain (PACKAGE, localedir); + (void) textdomain (PACKAGE); /* Do not invoke xcalloc before this point, since locale needs to be set first, in case a diagnostic is issued. */ diff --git a/gcc/cppmain.c b/gcc/cppmain.c index 0429932..5e3ed90 100644 --- a/gcc/cppmain.c +++ b/gcc/cppmain.c @@ -72,8 +72,8 @@ main (argc, argv) #ifdef HAVE_LC_MESSAGES setlocale (LC_MESSAGES, ""); #endif - bindtextdomain (PACKAGE, localedir); - textdomain (PACKAGE); + (void) bindtextdomain (PACKAGE, localedir); + (void) textdomain (PACKAGE); cpp_reader_init (&parse_in); parse_in.opts = opts; @@ -4656,8 +4656,8 @@ main (argc, argv) #ifdef HAVE_LC_MESSAGES setlocale (LC_MESSAGES, ""); #endif - bindtextdomain (PACKAGE, localedir); - textdomain (PACKAGE); + (void) bindtextdomain (PACKAGE, localedir); + (void) textdomain (PACKAGE); if (signal (SIGINT, SIG_IGN) != SIG_IGN) signal (SIGINT, fatal_error); @@ -228,8 +228,8 @@ main (argc, argv) #ifdef HAVE_LC_MESSAGES setlocale (LC_MESSAGES, ""); #endif - bindtextdomain (PACKAGE, localedir); - textdomain (PACKAGE); + (void) bindtextdomain (PACKAGE, localedir); + (void) textdomain (PACKAGE); process_args (argc, argv); diff --git a/gcc/protoize.c b/gcc/protoize.c index 1f55551..a2e9cb5b 100644 --- a/gcc/protoize.c +++ b/gcc/protoize.c @@ -4560,8 +4560,8 @@ main (argc, argv) #ifdef HAVE_LC_MESSAGES setlocale (LC_MESSAGES, ""); #endif - bindtextdomain (PACKAGE, localedir); - textdomain (PACKAGE); + (void) bindtextdomain (PACKAGE, localedir); + (void) textdomain (PACKAGE); cwd_buffer = getpwd (); if (!cwd_buffer) diff --git a/gcc/toplev.c b/gcc/toplev.c index bceb6cf..eb1888d 100644 --- a/gcc/toplev.c +++ b/gcc/toplev.c @@ -4678,8 +4678,8 @@ main (argc, argv) #ifdef HAVE_LC_MESSAGES setlocale (LC_MESSAGES, ""); #endif - bindtextdomain (PACKAGE, localedir); - textdomain (PACKAGE); + (void) bindtextdomain (PACKAGE, localedir); + (void) textdomain (PACKAGE); signal (SIGFPE, float_signal); |