Skip to content

Commit

Permalink
Fix c++-compat warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
yuyichao committed Jan 6, 2017
1 parent 6eaec18 commit f550489
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/jloptions.c
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ char *shlib_ext = ".so";
#endif

static char system_image_path[256] = "\0" JL_SYSTEM_IMAGE_PATH;
static const char *get_default_sysimg_path()
static const char *get_default_sysimg_path(void)
{
#ifdef CPUID_SPECIFIC_BINARIES
char *path = &system_image_path[1];
Expand Down
2 changes: 1 addition & 1 deletion src/sys.c
Original file line number Diff line number Diff line change
Expand Up @@ -468,7 +468,7 @@ JL_DLLEXPORT uint64_t jl_cpuid_tag(void)
}
#endif

JL_DLLEXPORT int jl_uses_cpuid_tag()
JL_DLLEXPORT int jl_uses_cpuid_tag(void)
{
#ifdef CPUID_SPECIFIC_BINARIES
return 1;
Expand Down

0 comments on commit f550489

Please sign in to comment.