Enlightenment CVS committal Author : devilhorns Project : e17 Module : apps/e
Dir : e17/apps/e/src/modules/cpufreq Modified Files: freqset.c Log Message: Make sure to define the variable type so we do not get 'Undefined Variable' errors when building for *BSD. Thanks _alexey_ :) =================================================================== RCS file: /cvs/e/e17/apps/e/src/modules/cpufreq/freqset.c,v retrieving revision 1.5 retrieving revision 1.6 diff -u -3 -r1.5 -r1.6 --- freqset.c 14 Dec 2006 19:36:59 -0000 1.5 +++ freqset.c 17 Dec 2006 10:12:03 -0000 1.6 @@ -32,7 +32,7 @@ #ifdef __FreeBSD__ if (!strcmp(argv[1], "frequency")) { - new_frequency = atoi(argv[2]); + int new_frequency = atoi(argv[2]); int len = 4; if (sysctlbyname("dev.cpu.0.freq", NULL, 0, &new_frequency, &len) == -1) { ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs