MISRA-C: don't use the standard types, use instead typedefs. Change char and int to uint8_t. Add header files.
Change all rights reserved to Bern University of Applied Sciences.