[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-dejagnu] [PATCH] testglue: drop duplicate prototypes
From: |
Ben Elliston |
Subject: |
Re: [Bug-dejagnu] [PATCH] testglue: drop duplicate prototypes |
Date: |
Tue, 13 Apr 2010 08:58:10 +1000 |
User-agent: |
Mutt/1.5.18 (2008-05-17) |
On Fri, Apr 09, 2010 at 04:30:57AM -0400, Mike Frysinger wrote:
> Looks like when this commit was made back in 2004, it was committed
> twice by two different people and no one noticed.
> @@ -39,10 +39,6 @@
> #define ORIG__EXIT __wrap__exit
> #define ORIG_ABORT __wrap_abort
> #define ORIG_MAIN __wrap_main
> -
> -extern void abort (void);
> -extern void exit (int);
> -
> #endif
>
> extern void abort (void);
If you look at the file before you made your change, the duplicated
text appears to be the two prototypes and the #endif. I think the
#endif should be removed, too.
Ben