Gedare Bloom started a new discussion on cpukit/libmisc/shell/shell.c: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/495#note_123326

 > +  int max_len = current_common_len;
 > +  
 > +  for (i = start_pos; i < current_common_len && i < strlen(str2); i++) {
 > +    if (str1[i] != str2[i]) {
 > +      max_len = i;
 > +      break;
 > +    }
 > +  }
 > +  
 > +  return max_len;
 > +}
 > +
 > +/* Insert completion content into command line */
 > +static int insert_completion(char *line, int col, int size, FILE *out, 
 > +                            const char *completion, int word_len, int 
 > common_len,
 > +                            int matches, int add_suffix, char suffix_char) {

reformat one parameter per line

-- 
View it on GitLab: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/495#note_123326
You're receiving this email because of your account on gitlab.rtems.org.


_______________________________________________
bugs mailing list
bugs@rtems.org
http://lists.rtems.org/mailman/listinfo/bugs

Reply via email to