1void Ming_setWarnFunction(void *func)
2    void *fptr;
3
4    fptr = dlsym(_Chming_handle, "Ming_setWarnFunction_chdl");
5    if(fptr == NULL) {
6        fprintf(_stderr, "Error: %s(): dlsym(): %s\n", __func__,  dlerror());
7        return;
8    }
9    dlrunfun(fptr, NULL, Ming_setWarnFunction, NULL);
10}
11