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 | |
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
-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 | ||||
-rw-r--r-- | ppapi/c/pp_completion_callback.h | 4 | ||||
-rw-r--r-- | ppapi/c/pp_touch_point.h | 4 | ||||
-rw-r--r-- | ppapi/c/pp_var.h | 6 | ||||
-rw-r--r-- | ppapi/c/ppp.h | 4 |
8 files changed, 14 insertions, 14 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); /** * @} */ 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 <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/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 <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/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 <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; } @@ -179,7 +179,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/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); /** * @} */ |