Re: [PATCH] testglue: drop duplicate prototypes

Ben Elliston <[email protected]>
Newsgroups gmane.comp.sysutils.dejagnu.bugs
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.