The only remaining uses of loadlib.h are in cygcheck and strace, where it's used to load cygwin1.dll in both.
Things could be further simplified, but it's probably worth keeping it around in it's present form since it's quite likely that LoadLibrary()/GetProcAddress() might be used again in future. Jon Turney (2): Cygwin: Drop pointless loadlib.h includes in utilities Cygwin: Drop use of loadlib.h in regtool winsup/utils/cygpath.cc | 1 - winsup/utils/module_info.cc | 1 - winsup/utils/path.cc | 1 - winsup/utils/ps.cc | 1 - winsup/utils/regtool.cc | 13 +------------ 5 files changed, 1 insertion(+), 16 deletions(-) -- 2.35.1