Skip to content

Patch to Sd2Card.cpp to elimimate compiler warnings #15

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 9 commits into from
Prev Previous commit
Next Next commit
WInterrupts.c: warning: 'static' is not at beginning of declaration
The static keyword is improperly placed in the declaration of the intFunc
variable.
  • Loading branch information
jcwren committed Dec 21, 2010
commit bda64599c6502da751b9506d42f5e0112d5b9ea3
2 changes: 1 addition & 1 deletion hardware/arduino/cores/arduino/WInterrupts.c
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
#include "WConstants.h"
#include "wiring_private.h"

volatile static voidFuncPtr intFunc[EXTERNAL_NUM_INTERRUPTS];
static volatile voidFuncPtr intFunc[EXTERNAL_NUM_INTERRUPTS];
// volatile static voidFuncPtr twiIntFunc;

void attachInterrupt(uint8_t interruptNum, void (*userFunc)(void), int mode) {
Expand Down