summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/arm/nds/libnds/include/nds/arm9/videoGL.h
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2008-08-20 16:31:41 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2008-08-20 16:31:41 +0000
commit9a85541b388cf04ebaa897ca9281ef270653c982 (patch)
treec0e80e2164d991563f10f897c4b3ba927a25a670 /c/src/lib/libbsp/arm/nds/libnds/include/nds/arm9/videoGL.h
parent2008-08-20 Ralf Corsépius <ralf.corsepius@rtems.org> (diff)
downloadrtems-9a85541b388cf04ebaa897ca9281ef270653c982.tar.bz2
2008-08-20 Joel Sherrill <joel.sherrill@OARcorp.com>
* block/block.c, console/console.c, dswifi/arm9/source/sgIP.h, dswifi/arm9/source/sgIP_ARP.h, dswifi/arm9/source/sgIP_Config.h, dswifi/arm9/source/sgIP_DHCP.h, dswifi/arm9/source/sgIP_DNS.h, dswifi/arm9/source/sgIP_Hub.h, dswifi/arm9/source/sgIP_ICMP.h, dswifi/arm9/source/sgIP_IP.h, dswifi/arm9/source/sgIP_TCP.h, dswifi/arm9/source/sgIP_UDP.h, dswifi/arm9/source/sgIP_memblock.h, dswifi/arm9/source/wifi_arm9.c, dswifi/arm9/source/wifi_arm9.h, dswifi/include/dswifi7.h, dswifi/include/dswifi9.h, fb/fb.c, include/my_ipc.h, libfat/source/disc_io/disc_io.h, libfat/source/disc_io/io_nmmc.c, libnds/include/nds/arm9/exceptions.h, libnds/include/nds/arm9/input.h, libnds/include/nds/arm9/ndsmotion.h, libnds/include/nds/arm9/videoGL.h, libnds/source/arm9/console.c, libnds/source/arm9/gurumeditation.c, libnds/source/arm9/ndsmotion.c, libnds/source/common/card.c, libnds/source/common/interrupts.c, sound/sound.c, startup/start.c, touchscreen/reco.h, wifi/compat.c, wifi/compat.h: Fix most warnings.
Diffstat (limited to '')
-rw-r--r--c/src/lib/libbsp/arm/nds/libnds/include/nds/arm9/videoGL.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/c/src/lib/libbsp/arm/nds/libnds/include/nds/arm9/videoGL.h b/c/src/lib/libbsp/arm/nds/libnds/include/nds/arm9/videoGL.h
index 84f16c30b6..2e75729759 100644
--- a/c/src/lib/libbsp/arm/nds/libnds/include/nds/arm9/videoGL.h
+++ b/c/src/lib/libbsp/arm/nds/libnds/include/nds/arm9/videoGL.h
@@ -378,7 +378,7 @@ void glTexParameter( uint8 sizeX, uint8 sizeY,
uint32 param) ;
/*! \brief Returns the active texture parameter (constructed from internal call to glTexParameter) */
-u32 glGetTexParameter();
+u32 glGetTexParameter(void);
/*! \brief returns the address alocated to the texure named by name
\param name the name of the texture to get a pointer to */
@@ -415,7 +415,7 @@ void glMaterialf(GL_MATERIALS_ENUM mode, rgb color);
void glInit_C(void);
// This returns a pointer to the globals for videoGL
-gl_hidden_globals* glGetGlobals();
+gl_hidden_globals* glGetGlobals(void);
#ifdef __cplusplus
@@ -1085,7 +1085,7 @@ GL_STATIC_INL void glAlphaFunc(int alphaThreshold) { GFX_ALPHA_TEST = alphaThres
GL_STATIC_INL void glCutoffDepth(fixed12d3 wVal) { GFX_CUTOFF_DEPTH = wVal; }
/*! \brief Initializes the gl state machine (must be called once before using gl calls) */
-GL_STATIC_INL void glInit() {
+GL_STATIC_INL void glInit(void) {
glGlob = glGetGlobals(); // make sure globals are synced between compilation units
glInit_C(); // actually does the initialization
}