Joel Sherrill commented on a discussion on 
testsuites/psxtests/psximfs03/init.c: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/534#note_128186

 > +#include <errno.h>
 > +#include <rtems/libio.h>
 > +#include <rtems/malloc.h>
 > +#include <rtems/libcsupport.h>
 > +
 > +const char rtems_test_name[] = "PSXIMFS 3";
 > +const char memory[1000000000];
 > +
 > +char *freelist = NULL;
 > +
 > +char *allocator(
 > +  int val,
 > +  int size
 > +)
 > +{
 > +  if(!freelist) return NULL;

I think the if( instances are resolved. And returns are on separate lines with 
{}.

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


_______________________________________________
bugs mailing list
[email protected]
http://lists.rtems.org/mailman/listinfo/bugs

Reply via email to