Skip to content

Commit

Permalink
Fix compile error: this function declaration is not a prototype
Browse files Browse the repository at this point in the history
`cef_basetime_now()` failed to compile if `-Wstrict-prototypes` is set in clang
or gcc.
  • Loading branch information
sergio-nsk authored and magreenblatt committed Mar 6, 2023
1 parent 8b79f9c commit 9ae4da3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/internal/cef_time.h
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ CEF_EXPORT int cef_time_now(cef_time_t* cef_time);
///
/// Retrieve the current system time.
///
CEF_EXPORT cef_basetime_t cef_basetime_now();
CEF_EXPORT cef_basetime_t cef_basetime_now(void);

///
/// Retrieve the delta in milliseconds between two time values. Returns true (1)
Expand Down

0 comments on commit 9ae4da3

Please sign in to comment.