hedgewars/uMisc.pas
changeset 3971 5c82ee165ed5
parent 3939 e6fddcb04dc2
child 3988 044cc945b2f8
--- a/hedgewars/uMisc.pas	Mon Oct 11 16:56:00 2010 -0400
+++ b/hedgewars/uMisc.pas	Tue Oct 12 05:06:30 2010 +0200
@@ -189,7 +189,7 @@
 function  toPowerOf2(i: Longword): Longword; inline;
 function  DecodeBase64(s: shortstring): shortstring;
 function  doSurfaceConversion(tmpsurf: PSDL_Surface): PSDL_Surface;
-function  endian(independent: LongWord): LongWord;
+function  endian(independent: LongWord): LongWord; inline;
 {$IFDEF DEBUGFILE}
 procedure AddFileLog(s: shortstring);
 (* function  RectToStr(Rect: TSDL_Rect): shortstring; *)
@@ -683,7 +683,7 @@
     exit(tmpsurf);
 end;
 
-function endian(independent: LongWord): LongWord;
+function endian(independent: LongWord): LongWord; inline;
 begin
 {$IFDEF ENDIAN_LITTLE}
 endian:= independent;