replace.h 253 B

123456789101112
  1. /*
  2. replacement functions for systems that are missing required library functions
  3. */
  4. #pragma once
  5. #include <AP_HAL/AP_HAL.h>
  6. #ifndef HAVE_MEMRCHR
  7. void *replace_memrchr(void *s, int c, size_t n);
  8. #define memrchr(s,c,n) replace_memrchr(s,c,n)
  9. #endif