X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fapi%2Fdlfcn.c;h=afa41e4b4f63bd75cc1d36f6b4fb753588339bcd;hb=0ef2646848cbc2e6c59f8757165b5790b0132281;hp=a86150739159771750bd08fad79d1a04581e7396;hpb=6a2161f389e6115bb3b948d71c56c8c882eaeda6;p=libc-test diff --git a/src/api/dlfcn.c b/src/api/dlfcn.c index a861507..afa41e4 100644 --- a/src/api/dlfcn.c +++ b/src/api/dlfcn.c @@ -7,8 +7,8 @@ C(RTLD_NOW) C(RTLD_GLOBAL) C(RTLD_LOCAL) -int(*p_dlclose)(void*) = dlclose; -char*(*p_dlerror)(void) = dlerror; -void*(*p_dlopen)(const char*,int) = dlopen; -void*(*p_dlsym)(void*restrict,const char*restrict) = dlsym; +{int(*p)(void*) = dlclose;} +{char*(*p)(void) = dlerror;} +{void*(*p)(const char*,int) = dlopen;} +{void*(*p)(void*restrict,const char*restrict) = dlsym;} }