Back to home page

OSCL-LXR

 
 

    


0001 // SPDX-License-Identifier: GPL-2.0
0002 #include <opencsd/c_api/opencsd_c_api.h>
0003 
0004 /*
0005  * Check OpenCSD library version is sufficient to provide required features
0006  */
0007 #define OCSD_MIN_VER ((1 << 16) | (1 << 8) | (1))
0008 #if !defined(OCSD_VER_NUM) || (OCSD_VER_NUM < OCSD_MIN_VER)
0009 #error "OpenCSD >= 1.1.1 is required"
0010 #endif
0011 
0012 int main(void)
0013 {
0014     (void)ocsd_get_version();
0015     return 0;
0016 }