Skip to content

Commit

Permalink
Fix strict-prototypes warning
Browse files Browse the repository at this point in the history
  • Loading branch information
jeroen committed Oct 18, 2022
1 parent 74c9f0d commit 6305043
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Package: jsonlite
Version: 1.8.2
Version: 1.8.3
Title: A Simple and Robust JSON Parser and Generator for R
License: MIT + file LICENSE
Depends: methods
Expand Down
3 changes: 3 additions & 0 deletions NEWS
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
1.8.3
- Fix strict-prototypes warning

1.8.2
- Also fix breaking change in base_r for as.character.Date

Expand Down
2 changes: 1 addition & 1 deletion src/push_parser.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
yajl_handle push_parser_new();
yajl_handle push_parser_new(void);
yajl_val push_parser_get(yajl_handle handle);
SEXP ParseValue(yajl_val node, int bigint_as_char);
2 changes: 1 addition & 1 deletion src/yajl/yajl_tree.c
Original file line number Diff line number Diff line change
Expand Up @@ -520,7 +520,7 @@ void yajl_tree_free (yajl_val v)
yajl_callbacks mem_callbacks;
context_t mem_ctx;

yajl_handle push_parser_new () {
yajl_handle push_parser_new (void) {

/* init callback handlers */
yajl_callbacks *callbacks = &mem_callbacks;
Expand Down

0 comments on commit 6305043

Please sign in to comment.