Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(111)

Unified Diff: ppapi/c/ppb_core.h

Issue 11419192: Make PPAPI headers compilable with -Wstrict-prototypes (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ppapi/c/dev/ppb_testing_dev.h ('k') | ppapi/c/ppb_image_data.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/c/ppb_core.h
diff --git a/ppapi/c/ppb_core.h b/ppapi/c/ppb_core.h
index 2bbbcb1792cfc2665f412d98fe98efb996c38491..135f85787fda707cfc2c9f670c7a4b40dccae58e 100644
--- a/ppapi/c/ppb_core.h
+++ b/ppapi/c/ppb_core.h
@@ -3,7 +3,7 @@
* found in the LICENSE file.
*/
-/* From ppb_core.idl modified Wed Oct 5 14:06:02 2011. */
+/* From ppb_core.idl modified Mon Mar 19 12:02:10 2012. */
#ifndef PPAPI_C_PPB_CORE_H_
#define PPAPI_C_PPB_CORE_H_
@@ -58,7 +58,7 @@ struct PPB_Core_1_0 {
* @return A <code>PP_Time</code> containing the "wall clock time" according
* to the browser.
*/
- PP_Time (*GetTime)();
+ PP_Time (*GetTime)(void);
/**
* GetTimeTicks() returns the "tick time" according to the browser.
* This clock is used by the browser when passing some event times to the
@@ -70,7 +70,7 @@ struct PPB_Core_1_0 {
* @return A <code>PP_TimeTicks</code> containing the "tick time" according
* to the browser.
*/
- PP_TimeTicks (*GetTimeTicks)();
+ PP_TimeTicks (*GetTimeTicks)(void);
/**
* CallOnMainThread() schedules work to be executed on the main module thread
* after the specified delay. The delay may be 0 to specify a call back as
@@ -107,7 +107,7 @@ struct PPB_Core_1_0 {
* @return A <code>PP_Bool</code> containing <code>PP_TRUE</code> if the
* current thread is the main pepper thread, otherwise <code>PP_FALSE</code>.
*/
- PP_Bool (*IsMainThread)();
+ PP_Bool (*IsMainThread)(void);
};
typedef struct PPB_Core_1_0 PPB_Core;
« no previous file with comments | « ppapi/c/dev/ppb_testing_dev.h ('k') | ppapi/c/ppb_image_data.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698