Skip to content

Commit

Permalink
Merge pull request #120 from stweil/extern
Browse files Browse the repository at this point in the history
Remove unneeded extern declarations
  • Loading branch information
egorpugin committed Jan 30, 2016
2 parents 4c1a93e + a9cd49b commit 03ef63c
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 15 deletions.
3 changes: 0 additions & 3 deletions src/bmpio.c
Original file line number Diff line number Diff line change
Expand Up @@ -569,9 +569,6 @@ RGBA_QUAD *pquad;
/*---------------------------------------------------------------------*
* Read/write to memory *
*---------------------------------------------------------------------*/
#if HAVE_FMEMOPEN
extern FILE *open_memstream(char **data, size_t *size);
#endif /* HAVE_FMEMOPEN */

/*!
* pixReadMemBmp()
Expand Down
3 changes: 0 additions & 3 deletions src/jp2kio.c
Original file line number Diff line number Diff line change
Expand Up @@ -743,9 +743,6 @@ opj_image_cmptparm_t cmptparm[4];
/*---------------------------------------------------------------------*
* Read/write to memory *
*---------------------------------------------------------------------*/
#if HAVE_FMEMOPEN
extern FILE *open_memstream(char **data, size_t *size);
#endif /* HAVE_FMEMOPEN */

/*!
* pixReadMemJp2k()
Expand Down
3 changes: 0 additions & 3 deletions src/jpegio.c
Original file line number Diff line number Diff line change
Expand Up @@ -940,9 +940,6 @@ jmp_buf jmpbuf; /* must be local to the function */
/*---------------------------------------------------------------------*
* Read/write to memory *
*---------------------------------------------------------------------*/
#if HAVE_FMEMOPEN
extern FILE *open_memstream(char **data, size_t *size);
#endif /* HAVE_FMEMOPEN */

/*!
* pixReadMemJpeg()
Expand Down
3 changes: 0 additions & 3 deletions src/pngio.c
Original file line number Diff line number Diff line change
Expand Up @@ -1254,9 +1254,6 @@ l_pngSetReadStrip16To8(l_int32 flag)
/*---------------------------------------------------------------------*
* Read/write to memory *
*---------------------------------------------------------------------*/
#if HAVE_FMEMOPEN
extern FILE *open_memstream(char **data, size_t *size);
#endif /* HAVE_FMEMOPEN */

/*!
* pixReadMemPng()
Expand Down
3 changes: 0 additions & 3 deletions src/pnmio.c
Original file line number Diff line number Diff line change
Expand Up @@ -598,9 +598,6 @@ PIX *pixs;
/*---------------------------------------------------------------------*
* Read/write to memory *
*---------------------------------------------------------------------*/
#if HAVE_FMEMOPEN
extern FILE *open_memstream(char **data, size_t *size);
#endif /* HAVE_FMEMOPEN */

/*!
* pixReadMemPnm()
Expand Down

0 comments on commit 03ef63c

Please sign in to comment.