1aa6292f4SMathieu Poirier // SPDX-License-Identifier: GPL-2.0 2aa6292f4SMathieu Poirier #include <opencsd/c_api/opencsd_c_api.h> 3aa6292f4SMathieu Poirier 4a7ee4d62SRobert Walker /* 5a7ee4d62SRobert Walker * Check OpenCSD library version is sufficient to provide required features 6a7ee4d62SRobert Walker */ 7*7c5276c4SJames Clark #define OCSD_MIN_VER ((1 << 16) | (2 << 8) | (1)) 8a7ee4d62SRobert Walker #if !defined(OCSD_VER_NUM) || (OCSD_VER_NUM < OCSD_MIN_VER) 9*7c5276c4SJames Clark #error "OpenCSD >= 1.2.1 is required" 10a7ee4d62SRobert Walker #endif 11a7ee4d62SRobert Walker main(void)12aa6292f4SMathieu Poirierint main(void) 13aa6292f4SMathieu Poirier { 14aa6292f4SMathieu Poirier (void)ocsd_get_version(); 15aa6292f4SMathieu Poirier return 0; 16aa6292f4SMathieu Poirier } 17