Skip to content

Commit 7c60b45

Browse files
committed
Fix compilation warning by giving boot function a proper return type
1 parent d22eba8 commit 7c60b45

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Changes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
Revision history for File-Map
22

33
{{$NEXT}}
4+
Fix compilation warning by giving boot function a proper return type
45

56
0.64 2015-07-13 12:50:12+02:00 Europe/Amsterdam
67
Fix segfault in empty mappings

lib/File/Map.xs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -436,7 +436,7 @@ static int S_protection_value(pTHX_ SV* mode, int fallback) {
436436
XSRETURN_EMPTY;\
437437
} STMT_END
438438

439-
static boot(pTHX) {
439+
static void boot(pTHX) {
440440
AV* constants = newAV();
441441
HV* stash = get_hv("File::Map::", FALSE);
442442
HV* advise_constants = newHV();

0 commit comments

Comments
 (0)