On 31/5/18 1:35 am, Amaan Cheval wrote> Minor, but in most other places in RTEMS, I've seen pointers declared > with the asterisk on the variable not on the type ("int *ptr;" instead > of "int* ptr;").
I write code with the '*' on the type, after all it is an integer pointer (int* v;) and not a pointer variable of some type (int *v;) and when you use C++ it is a type reference, ie 'int& v', and not the address of a variable, ie 'int &v;'. As a result I prefer to be consistent across C and C++. Please do not touch the existing coding model used here. I will not accept changes of that nature. Chris _______________________________________________ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel