Changeset 504
- Timestamp:
- Aug 25, 2018, 6:28:41 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/user/sort/sort.c
r475 r504 60 60 61 61 //////////////////////////////////// 62 void bubbleSort( int * array, 63 unsigned int length, 64 unsigned int init_pos ) 62 static void bubbleSort( 63 int * array, 64 unsigned int length, 65 unsigned int init_pos ) 65 66 { 66 67 unsigned int i; … … 84 85 85 86 ///////////////////////// 86 void merge( int * src, 87 int * dst, 88 int length, 89 int init_pos_src_a, 90 int init_pos_src_b, 91 int init_pos_dst ) 87 static void merge( 88 const int * src, 89 int * dst, 90 int length, 91 int init_pos_src_a, 92 int init_pos_src_b, 93 int init_pos_dst ) 92 94 { 93 95 int i; … … 128 130 129 131 ///////////////////////// 130 void sort(args_t * ptr )132 static void sort( const args_t * ptr ) 131 133 { 132 134 unsigned int i;
Note: See TracChangeset
for help on using the changeset viewer.