Cygwin: Drop pointless loadlib.h includes in utilities
These utilities used to LoadLibrary()/GetProcAddress(), but don't anymore.
This commit is contained in:
parent
e1ce752a1d
commit
f344134a19
|
@ -29,7 +29,6 @@ details. */
|
|||
#include <ntdll.h>
|
||||
|
||||
#include "wide_path.h"
|
||||
#include "loadlib.h"
|
||||
|
||||
static char *prog_name;
|
||||
static char *file_arg, *output_arg;
|
||||
|
|
|
@ -12,7 +12,6 @@ details. */
|
|||
#include <windows.h>
|
||||
#define PSAPI_VERSION 1
|
||||
#include <psapi.h>
|
||||
#include "loadlib.h"
|
||||
|
||||
/* Returns full name of Dll, which is loaded by hProcess at BaseAddress.
|
||||
Uses psapi.dll. */
|
||||
|
|
|
@ -28,7 +28,6 @@ details. */
|
|||
#ifdef FSTAB_ONLY
|
||||
#include <sys/cygwin.h>
|
||||
#endif
|
||||
#include "loadlib.h"
|
||||
|
||||
#ifndef FSTAB_ONLY
|
||||
/* Used when treating / and \ as equivalent. */
|
||||
|
|
|
@ -21,7 +21,6 @@ details. */
|
|||
#include <cygwin/version.h>
|
||||
#include <ntdef.h>
|
||||
#include <ntdll.h>
|
||||
#include "loadlib.h"
|
||||
|
||||
/* Maximum possible path length under NT. There's no official define
|
||||
for that value. Note that PATH_MAX is only 4K. */
|
||||
|
|
Loading…
Reference in New Issue