r-lib / later

Schedule an R function or formula to run after a specified period of time.
https://r-lib.github.io/later
Other
141 stars 28 forks source link

In C function declarations, use `void` #172

Closed wch closed 1 year ago

wch commented 1 year ago

This fixes some warnings on R 4.3.0:

checking whether package ‘later’ can be installed ... WARNING
Found the following significant warnings:
  init.c:12:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
  init.c:18:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
  init.c:24:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
  init.c:27:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
  init.c:51:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
See https://www.r-project.org/nosvn/R.check/r-patched-linux-x86_64/later-00install.html for details.