Remove sys_dl*() - stubs are already provided by libreplace.
[gd/samba/.git] / source3 / torture / nsstest.c
index 6bd0efe1af0035a80f9b9f64fdbcff8723d617df..352b3fa33c08b56dada14458e51aae6af6f23eee 100644 (file)
@@ -37,13 +37,13 @@ static void *find_fn(const char *name)
        }
 
        if (!h) {
-               h = sys_dlopen(so_path, RTLD_LAZY);
+               h = dlopen(so_path, RTLD_LAZY);
        }
        if (!h) {
                printf("Can't open shared library %s\n", so_path);
                exit(1);
        }
-       res = sys_dlsym(h, s);
+       res = dlsym(h, s);
        if (!res) {
                printf("Can't find function %s\n", s);
                total_errors++;