Skip to content

Commit

Permalink
COMP: Trying to fix travis-ci compilation error
Browse files Browse the repository at this point in the history
  • Loading branch information
jmichel-otb committed Jul 7, 2016
1 parent de301c3 commit 0345b9e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion gdal/frmts/vrt/gdal_vrt.h
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
CPL_C_START

void GDALRegister_VRT();
CPLErr CPL_STDCALL GDALRegisterDefaultPixelFunc();
CPLErr CPL_STDCALL GDALRegisterDefaultPixelFunc(void);

typedef CPLErr
(*VRTImageReadFunc)( void *hCBData,
Expand Down
2 changes: 1 addition & 1 deletion gdal/frmts/vrt/pixelfunctions.c
Original file line number Diff line number Diff line change
Expand Up @@ -917,7 +917,7 @@ static CPLErr dB2PowPixelFunc(void **papoSources, int nSources, void *pData,
*
* @return CE_None, invalid (NULL) parameters are currently ignored.
*/
CPLErr CPL_STDCALL GDALRegisterDefaultPixelFunc()
CPLErr CPL_STDCALL GDALRegisterDefaultPixelFunc(void)
{
GDALAddDerivedBandPixelFunc("real", RealPixelFunc);
GDALAddDerivedBandPixelFunc("imag", ImagPixelFunc);
Expand Down

0 comments on commit 0345b9e

Please sign in to comment.