File tree 1 file changed +3
-0
lines changed
1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -209,6 +209,7 @@ char * _sbrk(int incr) { return sbrk(incr); };
209
209
static UBaseType_t malLock_uxSavedInterruptStatus ;
210
210
#endif
211
211
void __malloc_lock (struct _reent * r ) {
212
+ (void )(r );
212
213
#if defined(MALLOCS_INSIDE_ISRs )
213
214
DRN_ENTER_CRITICAL_SECTION (malLock_uxSavedInterruptStatus );
214
215
#else
@@ -218,6 +219,7 @@ void __malloc_lock(struct _reent *r) {
218
219
#endif
219
220
};
220
221
void __malloc_unlock (struct _reent * r ) {
222
+ (void )(r );
221
223
#if defined(MALLOCS_INSIDE_ISRs )
222
224
DRN_EXIT_CRITICAL_SECTION (malLock_uxSavedInterruptStatus );
223
225
#else
@@ -250,6 +252,7 @@ void __env_unlock() { (void)xTaskResumeAll(); };
250
252
return p ;
251
253
};
252
254
void * __wrap__malloc_r (void * reent , size_t nbytes ) {
255
+ (void )(reent );
253
256
extern void * __real__malloc_r (size_t nbytes );
254
257
if (!inside_malloc ) {
255
258
MallocCallCnt ++ ;
You can’t perform that action at this time.
0 commit comments