This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
[PATCH] Trivial patch to for malloc/malloc.h
- From: Art Haas <ahaas at airmail dot net>
- To: libc-alpha at sources dot redhat dot com
- Date: Mon, 18 Aug 2003 12:47:37 -0500
- Subject: [PATCH] Trivial patch to for malloc/malloc.h
Hi.
I'm trying to build mozilla with the gcc-3.4 development snapshot. The
build is failing due to a large number of extra semi-colons in the mozilla
code. The compiler pointed out this error in malloc.h, too. The following
trivial patch removes the extraneous character.
Any reason why this file doesn't use the '__BEGIN_DECLS' and
'__END_DECLS' macros?
2003-08-18 Art Haas <ahaas@airmail.net>
# malloc/malloc.h: Remove unneeded ';' where closing the C++
extern block.
Index: malloc/malloc.h
===================================================================
RCS file: /cvs/glibc/libc/malloc/malloc.h,v
retrieving revision 1.24
diff -u -u -r1.24 malloc.h
--- malloc/malloc.h 28 May 2003 21:01:42 -0000 1.24
+++ malloc/malloc.h 18 Aug 2003 17:36:49 -0000
@@ -234,7 +234,7 @@
#ifdef __cplusplus
-}; /* end of extern "C" */
+} /* end of extern "C" */
#endif
#endif /* malloc.h */
--
Man once surrendering his reason, has no remaining guard against absurdities
the most monstrous, and like a ship without rudder, is the sport of every wind.
-Thomas Jefferson to James Smith, 1822