--- a/project_files/HedgewarsMobile/Classes/CommodityFunctions.m Sat Oct 09 18:01:47 2010 +0200
+++ b/project_files/HedgewarsMobile/Classes/CommodityFunctions.m Sun Oct 10 02:06:42 2010 +0200
@@ -183,12 +183,12 @@
[theScheme release];
}
-BOOL rotationManager (UIInterfaceOrientation interfaceOrientation) {
+BOOL inline rotationManager (UIInterfaceOrientation interfaceOrientation) {
return (interfaceOrientation == UIInterfaceOrientationLandscapeRight) ||
(interfaceOrientation == UIInterfaceOrientationLandscapeLeft);
}
-NSInteger randomPort () {
+NSInteger inline randomPort () {
srandom(time(NULL));
return (random() % 64511) + 1024;
}