This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[committed] Fix typos in collect2.c
- From: "John David Anglin" <dave at hiauly1 dot hia dot nrc dot ca>
- To: gcc-patches at gcc dot gnu dot org
- Date: Sat, 1 Nov 2003 19:03:53 -0500 (EST)
- Subject: [committed] Fix typos in collect2.c
Noticed building on hppa1.1-hp-hpux10.20. Committed as obvious.
Dave
--
J. David Anglin dave.anglin@nrc-cnrc.gc.ca
National Research Council of Canada (613) 990-0752 (FAX: 952-6602)
2003-11-01 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
* collect2.c (scan_libraries): Fix typos.
Index: collect2.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/collect2.c,v
retrieving revision 1.154
diff -u -3 -p -r1.154 collect2.c
--- collect2.c 17 Oct 2003 11:27:13 -0000 1.154
+++ collect2.c 1 Nov 2003 22:04:59 -0000
@@ -2480,9 +2480,9 @@ scan_libraries (const char *prog_name)
}
/* Parent context from here on. */
- int_handler = (void (*) (int))) signal (SIGINT, SIG_IGN;
+ int_handler = (void (*) (int)) signal (SIGINT, SIG_IGN);
#ifdef SIGQUIT
- quit_handler = (void (*) (int))) signal (SIGQUIT, SIG_IGN;
+ quit_handler = (void (*) (int)) signal (SIGQUIT, SIG_IGN);
#endif
if (close (pipe_fd[1]) < 0)