Browse Source

AP_Common: define WEAK attribute

master
Peter Barker 7 years ago committed by Randy Mackay
parent
commit
09bdb6315b
  1. 3
      libraries/AP_Common/AP_Common.h

3
libraries/AP_Common/AP_Common.h

@ -27,6 +27,9 @@ @@ -27,6 +27,9 @@
// used to pack structures
#define PACKED __attribute__((__packed__))
// used to weaken symbols
#define WEAK __attribute__((__weak__))
// used to mark a function that may be unused in some builds
#define UNUSED_FUNCTION __attribute__((unused))

Loading…
Cancel
Save