I have a package with C code and a call to int checkInterrupt();
but devtools::check()
says warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
.
How can I call the check interrupt function to pass that warning? I was thinking about checkInterrupt(void *dummy)
but that doesn't work.