diff options
author | nfullagar@chromium.org <nfullagar@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-02-15 11:46:35 +0000 |
---|---|---|
committer | nfullagar@chromium.org <nfullagar@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-02-15 11:46:35 +0000 |
commit | e4a47421a27d0a1aff70f178a7c30b00cbb78b60 (patch) | |
tree | cc8e51a3e94fe9ed88f0815c96c6d08f09d1a262 /ppapi/api | |
parent | 171878968febd54b0c378257104e4c4130bfcf67 (diff) | |
download | chromium_src-e4a47421a27d0a1aff70f178a7c30b00cbb78b60.zip chromium_src-e4a47421a27d0a1aff70f178a7c30b00cbb78b60.tar.gz chromium_src-e4a47421a27d0a1aff70f178a7c30b00cbb78b60.tar.bz2 |
Hush more c compiler warnings ("function declaration isn’t a prototype")
BUG=none
TEST=trybots
Review URL: https://chromiumcodereview.appspot.com/12209108
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@182671 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/api')
-rw-r--r-- | ppapi/api/pp_completion_callback.idl | 2 | ||||
-rw-r--r-- | ppapi/api/pp_touch_point.idl | 2 | ||||
-rw-r--r-- | ppapi/api/pp_var.idl | 4 | ||||
-rw-r--r-- | ppapi/api/ppp.idl | 2 |
4 files changed, 5 insertions, 5 deletions
diff --git a/ppapi/api/pp_completion_callback.idl b/ppapi/api/pp_completion_callback.idl index 6db9e2e..833a31a 100644 --- a/ppapi/api/pp_completion_callback.idl +++ b/ppapi/api/pp_completion_callback.idl @@ -230,7 +230,7 @@ PP_INLINE void PP_RunCompletionCallback(struct PP_CompletionCallback* cc, * * @return A <code>PP_CompletionCallback</code> structure. */ -PP_INLINE struct PP_CompletionCallback PP_BlockUntilComplete() { +PP_INLINE struct PP_CompletionCallback PP_BlockUntilComplete(void) { return PP_MakeCompletionCallback(NULL, NULL); } diff --git a/ppapi/api/pp_touch_point.idl b/ppapi/api/pp_touch_point.idl index 4b31320..3d58380 100644 --- a/ppapi/api/pp_touch_point.idl +++ b/ppapi/api/pp_touch_point.idl @@ -63,7 +63,7 @@ struct PP_TouchPoint { * * @return A <code>PP_TouchPoint</code> structure. */ -PP_INLINE struct PP_TouchPoint PP_MakeTouchPoint() { +PP_INLINE struct PP_TouchPoint PP_MakeTouchPoint(void) { struct PP_TouchPoint result = { 0, {0, 0}, {0, 0}, 0, 0 }; return result; } diff --git a/ppapi/api/pp_var.idl b/ppapi/api/pp_var.idl index c0f6c9e..fda2332 100644 --- a/ppapi/api/pp_var.idl +++ b/ppapi/api/pp_var.idl @@ -159,7 +159,7 @@ struct PP_Var { * * @return A <code>PP_Var</code> structure. */ -PP_INLINE struct PP_Var PP_MakeUndefined() { +PP_INLINE struct PP_Var PP_MakeUndefined(void) { struct PP_Var result = { PP_VARTYPE_UNDEFINED, 0, {PP_FALSE} }; return result; } @@ -170,7 +170,7 @@ PP_INLINE struct PP_Var PP_MakeUndefined() { * * @return A <code>PP_Var</code> structure, */ -PP_INLINE struct PP_Var PP_MakeNull() { +PP_INLINE struct PP_Var PP_MakeNull(void) { struct PP_Var result = { PP_VARTYPE_NULL, 0, {PP_FALSE} }; return result; } diff --git a/ppapi/api/ppp.idl b/ppapi/api/ppp.idl index 537813c..6cb99e0 100644 --- a/ppapi/api/ppp.idl +++ b/ppapi/api/ppp.idl @@ -77,7 +77,7 @@ PP_EXPORT int32_t PPP_InitializeModule(PP_Module module, * implementations in certain circumstances when Chrome does "fast shutdown" * of a web page. */ -PP_EXPORT void PPP_ShutdownModule(); +PP_EXPORT void PPP_ShutdownModule(void); /** * @} */ |