We are migrating our application from HP-UX to LINUX and some of the c codes are using EXTSM function for sorting, but the application uses COBOL code with GNU COBOL. So, on compiling we are getting undeclared function error. How to replace this function in c code.
error: call to undeclared function 'EXTSM'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] EXTSM(func_cod, fcd);
We checked in the link provided below, maybe we need to use SORT instead.
https://bigdanzblog.wordpress.com/2020/11/09/cobol-sort-module-in-gnucobol/