Skip to content

Commit b58f130

Browse files
committed
Fix prototype warnings
1 parent cf5cabb commit b58f130

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/init.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ static const R_CallMethodDef CallEntries[] = {
136136
{NULL, NULL, 0}
137137
};
138138

139-
void init_libxml2_library();
139+
void init_libxml2_library(void);
140140
void R_init_xml2(DllInfo *dll)
141141
{
142142
R_registerRoutines(dll, NULL, CallEntries, NULL, NULL);

src/xml2_init.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ void handleGenericError(void *ctx, const char *fmt, ...){
3636
Rf_error("%s", buffer);
3737
}
3838

39-
void init_libxml2_library() {
39+
void init_libxml2_library(void) {
4040
// Check that header and libs are compatible
4141
LIBXML_TEST_VERSION
4242

0 commit comments

Comments
 (0)