- Timestamp:
- Aug 27, 2018, 10:49:51 PM (6 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/boot/tsar_mips32/boot_fat32.c
r474 r519 48 48 * @ returns the field offset. * 49 49 ****************************************************************************/ 50 static inline int get_offset(int offset, int size) 51 { 52 if( size + 1 ) return offset; 53 50 static inline 51 int get_offset( 52 int offset, 53 int size __attribute__ ((unused))) 54 { 55 return offset; 54 56 } // get_offset() 55 57 … … 63 65 * @ returns the field length. * 64 66 ****************************************************************************/ 65 static inline int get_size(int offset, int size) 66 { 67 if( offset + 1 ) return size; 68 67 static inline 68 int get_size( 69 int offset __attribute__ ((unused)), 70 int size) 71 { 72 return size; 69 73 } // get_size() 70 74 -
trunk/kernel/fs/fatfs.c
r492 r519 55 55 ////////////////////////////////////////////////////////////////////////////////////////// 56 56 57 static inline int get_length( int offset , int length ) { if( offset + 1 ) return length; } 58 59 static inline int get_offset( int offset , int length ) { if( length + 1 ) return offset; } 60 57 static inline 58 int get_length( 59 int offset __attribute__((unused) ), 60 int length) 61 { 62 return length; 63 } 64 65 static inline 66 int get_offset( 67 int offset, 68 int length __attribute__((unused)) ) 69 { 70 return offset; 71 } 61 72 62 73 //////////////////////////////////////////////////////////////////////////////////////////
Note: See TracChangeset
for help on using the changeset viewer.