81e91c70f3
simclist.h is changed to either accept a predefined inline and/or predefined restrict macro or tests for known compilers and sets simclist_inline and simclist_restrict with the approprate keyword for the compiler being used or defines them as blank. The logic used is based on code in OpenSSL-1.1 e_os2.h For example, "configure" could define inline and/or restrict. But OpenSC is built on other platforms without a config.h and thus changes to simclist.h are still needed. simclist.c is changed by replacing inline with simclist_inline and restrict with simclist_restrict. The one and only use of inline in card-dnie.c is removed as there is no need to have the function inline. This avoids any inline issues. If inline is needed in other OpenSC code or in card-dnie.c, simclist_inline could be used. (Another option is to just remove all inline and restrict keywords from OpenSC code.) Changes to be committed: modified: src/common/simclist.c modified: src/common/simclist.h modified: src/libopensc/card-dnie.c |
||
---|---|---|
MacOSX | ||
doc | ||
etc | ||
m4 | ||
packaging/debian.templates | ||
solaris | ||
src | ||
win32 | ||
.gitignore | ||
.travis.yml | ||
CONTRIBUTING.md | ||
COPYING | ||
ISSUE_TEMPLATE.md | ||
Makefile.am | ||
Makefile.mak | ||
NEWS | ||
README | ||
README.md | ||
appveyor.yml | ||
bootstrap | ||
bootstrap.ci | ||
configure.ac | ||
version.m4 |
README.md
OpenSC documentation
Wiki is available online
Please take a look at the documentation before trying to use OpenSC.