* [gentoo-commits] gentoo-x86 commit in app-misc/mvcase/files: mvcase-0.1-includes.patch
@ 2010-10-20 0:54 Jeroen Roovers (jer)
0 siblings, 0 replies; only message in thread
From: Jeroen Roovers (jer) @ 2010-10-20 0:54 UTC (permalink / raw
To: gentoo-commits
jer 10/10/20 00:54:21
Added: mvcase-0.1-includes.patch
Log:
Fix compiler warnings. Set RDEPEND. Respect LDFLAGS (bug #338157), CC, CFLAGS.
(Portage version: 2.2_rc98/cvs/Linux i686)
Revision Changes Path
1.1 app-misc/mvcase/files/mvcase-0.1-includes.patch
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/mvcase/files/mvcase-0.1-includes.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/mvcase/files/mvcase-0.1-includes.patch?rev=1.1&content-type=text/plain
Index: mvcase-0.1-includes.patch
===================================================================
* Fix compiler warnings.
* Remove unused variable.
--- a/mvcase.c
+++ b/mvcase.c
@@ -17,6 +17,10 @@
*/
#include <stdio.h>
+#include <stdlib.h> /* exit() free() realloc() */
+#include <string.h> /* strlen() strcpy() */
+#include <strings.h> /* rindex() */
+#include <ctype.h> /* tolower() toupper() */
#include <shhopt.h>
#define VERSION_INT 0
@@ -45,7 +45,7 @@
int main (int argc, char **argv)
{
- int i,j,k;
+ int i,j;
int static flag_upper = 0;
int static flag_lower = 0;
int static flag_path = 0;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2010-10-20 0:54 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-20 0:54 [gentoo-commits] gentoo-x86 commit in app-misc/mvcase/files: mvcase-0.1-includes.patch Jeroen Roovers (jer)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox