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

Unified Diff: ppapi/lib/gl/gles2/gl2ext_ppapi.c

Issue 12217119: Hush compiler warnings when compiling c code. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years, 10 months 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/lib/gl/gles2/gl2ext_ppapi.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/lib/gl/gles2/gl2ext_ppapi.c
===================================================================
--- ppapi/lib/gl/gles2/gl2ext_ppapi.c (revision 181383)
+++ ppapi/lib/gl/gles2/gl2ext_ppapi.c (working copy)
@@ -76,7 +76,7 @@
return g_gles2_interface ? GL_TRUE : GL_FALSE;
}
-GLboolean GL_APIENTRY glTerminatePPAPI() {
+GLboolean GL_APIENTRY glTerminatePPAPI(void) {
g_gles2_interface = NULL;
return GL_TRUE;
}
@@ -85,40 +85,40 @@
g_current_context = context;
}
-PP_Resource GL_APIENTRY glGetCurrentContextPPAPI() {
+PP_Resource GL_APIENTRY glGetCurrentContextPPAPI(void) {
return g_current_context;
}
-const struct PPB_OpenGLES2* GL_APIENTRY glGetInterfacePPAPI() {
+const struct PPB_OpenGLES2* GL_APIENTRY glGetInterfacePPAPI(void) {
return g_gles2_interface;
}
const struct PPB_OpenGLES2InstancedArrays* GL_APIENTRY
- glGetInstancedArraysInterfacePPAPI() {
+ glGetInstancedArraysInterfacePPAPI(void) {
return g_gles2_instanced_arrays_interface;
}
const struct PPB_OpenGLES2FramebufferBlit* GL_APIENTRY
- glGetFramebufferBlitInterfacePPAPI() {
+ glGetFramebufferBlitInterfacePPAPI(void) {
return g_gles2_framebuffer_blit_interface;
}
const struct PPB_OpenGLES2FramebufferMultisample* GL_APIENTRY
- glGetFramebufferMultisampleInterfacePPAPI() {
+ glGetFramebufferMultisampleInterfacePPAPI(void) {
return g_gles2_framebuffer_multisample_interface;
}
const struct PPB_OpenGLES2ChromiumEnableFeature* GL_APIENTRY
- glGetChromiumEnableFeatureInterfacePPAPI() {
+ glGetChromiumEnableFeatureInterfacePPAPI(void) {
return g_gles2_chromium_enable_feature_interface;
}
const struct PPB_OpenGLES2ChromiumMapSub* GL_APIENTRY
- glGetChromiumMapSubInterfacePPAPI() {
+ glGetChromiumMapSubInterfacePPAPI(void) {
return g_gles2_chromium_map_sub_interface;
}
const struct PPB_OpenGLES2Query* GL_APIENTRY
- glGetQueryInterfacePPAPI() {
+ glGetQueryInterfacePPAPI(void) {
return g_gles2_query_interface;
}
« no previous file with comments | « ppapi/lib/gl/gles2/gl2ext_ppapi.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698