From e4a47421a27d0a1aff70f178a7c30b00cbb78b60 Mon Sep 17 00:00:00 2001 From: "nfullagar@chromium.org" Date: Fri, 15 Feb 2013 11:46:35 +0000 Subject: =?UTF-8?q?Hush=20more=20c=20compiler=20warnings=20("function=20de?= =?UTF-8?q?claration=20isn=E2=80=99t=20a=20prototype")?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- ppapi/api/pp_completion_callback.idl | 2 +- ppapi/api/pp_touch_point.idl | 2 +- ppapi/api/pp_var.idl | 4 ++-- ppapi/api/ppp.idl | 2 +- ppapi/c/pp_completion_callback.h | 4 ++-- ppapi/c/pp_touch_point.h | 4 ++-- ppapi/c/pp_var.h | 6 +++--- ppapi/c/ppp.h | 4 ++-- 8 files changed, 14 insertions(+), 14 deletions(-) (limited to 'ppapi') 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 PP_CompletionCallback 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 PP_TouchPoint 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 PP_Var 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 PP_Var 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); /** * @} */ diff --git a/ppapi/c/pp_completion_callback.h b/ppapi/c/pp_completion_callback.h index 6619ca4..8d45da0 100644 --- a/ppapi/c/pp_completion_callback.h +++ b/ppapi/c/pp_completion_callback.h @@ -3,7 +3,7 @@ * found in the LICENSE file. */ -/* From pp_completion_callback.idl modified Wed Nov 7 11:20:18 2012. */ +/* From pp_completion_callback.idl modified Mon Feb 11 15:42:11 2013. */ #ifndef PPAPI_C_PP_COMPLETION_CALLBACK_H_ #define PPAPI_C_PP_COMPLETION_CALLBACK_H_ @@ -257,7 +257,7 @@ PP_INLINE void PP_RunCompletionCallback(struct PP_CompletionCallback* cc, * * @return A PP_CompletionCallback 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/c/pp_touch_point.h b/ppapi/c/pp_touch_point.h index c503d0b..bcdc37a 100644 --- a/ppapi/c/pp_touch_point.h +++ b/ppapi/c/pp_touch_point.h @@ -3,7 +3,7 @@ * found in the LICENSE file. */ -/* From pp_touch_point.idl modified Fri Sep 21 10:18:48 2012. */ +/* From pp_touch_point.idl modified Mon Feb 11 15:42:54 2013. */ #ifndef PPAPI_C_PP_TOUCH_POINT_H_ #define PPAPI_C_PP_TOUCH_POINT_H_ @@ -75,7 +75,7 @@ PP_COMPILE_ASSERT_STRUCT_SIZE_IN_BYTES(PP_TouchPoint, 28); * * @return A PP_TouchPoint 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/c/pp_var.h b/ppapi/c/pp_var.h index d67b9b6..2138f93 100644 --- a/ppapi/c/pp_var.h +++ b/ppapi/c/pp_var.h @@ -3,7 +3,7 @@ * found in the LICENSE file. */ -/* From pp_var.idl modified Wed Dec 14 18:08:00 2011. */ +/* From pp_var.idl modified Mon Feb 11 15:41:10 2013. */ #ifndef PPAPI_C_PP_VAR_H_ #define PPAPI_C_PP_VAR_H_ @@ -168,7 +168,7 @@ PP_COMPILE_ASSERT_STRUCT_SIZE_IN_BYTES(PP_Var, 16); * * @return A PP_Var 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; } @@ -179,7 +179,7 @@ PP_INLINE struct PP_Var PP_MakeUndefined() { * * @return A PP_Var 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/c/ppp.h b/ppapi/c/ppp.h index 3a9f454..588e084 100644 --- a/ppapi/c/ppp.h +++ b/ppapi/c/ppp.h @@ -3,7 +3,7 @@ * found in the LICENSE file. */ -/* From ppp.idl modified Tue Nov 13 08:48:25 2012. */ +/* From ppp.idl modified Mon Feb 11 15:48:41 2013. */ #ifndef PPAPI_C_PPP_H_ #define PPAPI_C_PPP_H_ @@ -88,7 +88,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); /** * @} */ -- cgit v1.1