Skip to content

Commit 8ee4061

Browse files
committed
Add void to create proper prototype to please clang-15
1 parent f1d3972 commit 8ee4061

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

ChangeLog

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
2022-11-04 Dirk Eddelbuettel <[email protected]>
22

3+
* src/init.c: Add 'void' for proper prototype pleasing clang-15
4+
35
* R/fastLm.R (summary.fastLm,print.fastLm): Refer to correct and full
46
variable name df.residual in the returned object
57

src/init.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@
33
#include <stdlib.h> // for NULL
44
#include <R_ext/Rdynload.h>
55

6-
/* FIXME:
6+
/* FIXME:
77
Check these declarations against the C/Fortran source code.
88
*/
99

1010
/* .Call calls */
11-
extern SEXP RcppEigen_Eigen_SSE();
11+
extern SEXP RcppEigen_Eigen_SSE(void);
1212
extern SEXP RcppEigen_eigen_version(SEXP);
1313
extern SEXP RcppEigen_fastLm_Impl(SEXP, SEXP, SEXP);
1414

0 commit comments

Comments
 (0)