mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-11 10:28:29 -04:00
uncrustify libraries/AP_Common/c++.cpp
This commit is contained in:
parent
0890404680
commit
d9234edebc
@ -10,9 +10,9 @@
|
|||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include "c++.h"
|
#include "c++.h"
|
||||||
#if defined(ARDUINO) && ARDUINO >= 100
|
#if defined(ARDUINO) && ARDUINO >= 100
|
||||||
#include "Arduino.h"
|
#include "Arduino.h"
|
||||||
#else
|
#else
|
||||||
#include "WProgram.h"
|
#include "WProgram.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
void * operator new(size_t size)
|
void * operator new(size_t size)
|
||||||
@ -62,7 +62,8 @@ void __cxa_guard_release (__guard *g)
|
|||||||
*(char *)g = 1;
|
*(char *)g = 1;
|
||||||
};
|
};
|
||||||
|
|
||||||
void __cxa_guard_abort (__guard *) {};
|
void __cxa_guard_abort (__guard *) {
|
||||||
|
};
|
||||||
|
|
||||||
// free memory
|
// free memory
|
||||||
extern unsigned int __bss_end;
|
extern unsigned int __bss_end;
|
||||||
|
Loading…
Reference in New Issue
Block a user