diff options
author | Max Horn | 2009-02-15 22:32:57 +0000 |
---|---|---|
committer | Max Horn | 2009-02-15 22:32:57 +0000 |
commit | 78e0d055eae23f701b1fc2467c1b2f90041c3679 (patch) | |
tree | 930e456e591a3d02428094164269f30d68d9de4a /engines/sci/include/resource.h | |
parent | 5ecfecd3bc795446581186eb7f0e04b1c0caa0e3 (diff) | |
download | scummvm-rg350-78e0d055eae23f701b1fc2467c1b2f90041c3679.tar.gz scummvm-rg350-78e0d055eae23f701b1fc2467c1b2f90041c3679.tar.bz2 scummvm-rg350-78e0d055eae23f701b1fc2467c1b2f90041c3679.zip |
SCI: Run astyle to make the code be more compliant with our Code Formatting Guidelines: include dir
svn-id: r38319
Diffstat (limited to 'engines/sci/include/resource.h')
-rw-r--r-- | engines/sci/include/resource.h | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/engines/sci/include/resource.h b/engines/sci/include/resource.h index 24b7c716c7..7fab40d81b 100644 --- a/engines/sci/include/resource.h +++ b/engines/sci/include/resource.h @@ -188,8 +188,7 @@ #define _GET_INT_16 static inline gint16 -getInt16(byte *d) -{ +getInt16(byte *d) { return (gint16)(*d | (d[1] << 8)); } @@ -202,10 +201,9 @@ getInt16(byte *d) */ static inline void -putInt16(byte* dest, int src) -{ - dest[0]=(byte)src&0xff; - dest[1]=(byte)(src>>8)&0xff; +putInt16(byte* dest, int src) { + dest[0] = (byte)src & 0xff; + dest[1] = (byte)(src >> 8) & 0xff; } /* Converse of getInt16() ** Parameters: (byte *) dest: The position to write to @@ -383,7 +381,7 @@ sci_fd_size(int fd); /* Returns the filesize of an open file ** Parameters: (int) fd: File descriptor of open file ** Returns : (int) filesize of file pointed to by fd, -1 on error -*/ +*/ int sci_file_size(const char *fname); |