Skip to content

Commit

Permalink
Fix compilation warning by giving boot function a proper return type
Browse files Browse the repository at this point in the history
  • Loading branch information
Leont committed Mar 25, 2016
1 parent d22eba8 commit 7c60b45
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions Changes
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
Revision history for File-Map

{{$NEXT}}
Fix compilation warning by giving boot function a proper return type

0.64 2015-07-13 12:50:12+02:00 Europe/Amsterdam
Fix segfault in empty mappings
Expand Down
2 changes: 1 addition & 1 deletion lib/File/Map.xs
Original file line number Diff line number Diff line change
Expand Up @@ -436,7 +436,7 @@ static int S_protection_value(pTHX_ SV* mode, int fallback) {
XSRETURN_EMPTY;\
} STMT_END

static boot(pTHX) {
static void boot(pTHX) {
AV* constants = newAV();
HV* stash = get_hv("File::Map::", FALSE);
HV* advise_constants = newHV();
Expand Down

0 comments on commit 7c60b45

Please sign in to comment.