moved the definition of OPJ_ARG_NOT_USED from opj_includes.h to openjpeg.h

This commit is contained in:
Mickael Savinaud 2011-08-10 09:33:33 +00:00
parent 6fb9794200
commit 7812030886
3 changed files with 3 additions and 3 deletions

View File

@ -10,6 +10,7 @@ August 10, 2011
! [mickael] add copyright header into new test functions.
* [mickael] fixed glibc error with broken2 and broken4 images.
* [mickael] fixed segfault with 123.j2c and bug.j2c images (thanks to Tim Mattox for his improvement).
! [mickael] moved the definition of OPJ_ARG_NOT_USED from opj_includes.h to openjpeg.h
August 9, 2011
- [antonin] removed xcode project files (cmake and autotools are now the only supported build methods)

View File

@ -63,6 +63,8 @@ typedef int opj_bool;
#define OPJ_TRUE 1
#define OPJ_FALSE 0
// Avoid compile-time warning because parameter is not used
#define OPJ_ARG_NOT_USED(x) (void)(x)
/*
==========================================================
Useful constant definitions

View File

@ -104,9 +104,6 @@ static INLINE long lrintf(float f){
}
#endif
// Avoid compile-time warning because parameter is not used
#define OPJ_ARG_NOT_USED(x) (void)(x)
#include "j2k_lib.h"
#include "opj_malloc.h"
#include "event.h"