[PATCH] psp-build-exports.c

Discuss the development of new homebrew software, tools and libraries.

Moderators: cheriff, TyRaNiD

Post Reply
SilverSpring
Posts: 110
Joined: Tue Feb 27, 2007 9:43 pm
Contact:

[PATCH] psp-build-exports.c

Post by SilverSpring »

Suppress warnings when compiling apps with exports with -Wextra flag.

Code: Select all

warning: 'extern' is not at beginning of declaration

Code: Select all

Index: psptoolchain/build/pspsdk/tools/psp-build-exports.c
===================================================================
--- psptoolchain/build/pspsdk/tools/psp-build-exports.c	(revision 2414)
+++ psptoolchain/build/pspsdk/tools/psp-build-exports.c	(working copy)
@@ -335,7 +335,7 @@
 	pExp = pHead;
 	while(pExp != NULL)
 	{
-		fprintf(stdout, "void extern %s;\n", pExp->name);
+		fprintf(stdout, "extern void %s;\n", pExp->name);
 		pExp = pExp->pNext;
 	}
 }
User avatar
Raphael
Posts: 646
Joined: Tue Jan 17, 2006 4:54 pm
Location: Germany
Contact:

Post by Raphael »

Committed revision 2415.

Thanks
<Don't push the river, it flows.>
http://wordpress.fx-world.org - my devblog
http://wiki.fx-world.org - VFPU documentation wiki

Alexander Berl
Post Reply