Skip to content

Commit

Permalink
Removed NTGetLastError from the private header file because it is not…
Browse files Browse the repository at this point in the history
… exported.
  • Loading branch information
dlemstra committed Feb 24, 2024
1 parent 0566cb2 commit cb44173
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions magick/nt-base-private.h
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,7 @@ static inline void *NTAcquireQuantumMemory(const size_t count,
}

extern MagickPrivate char
*NTGetEnvironmentValue(const char *),
*NTGetLastError(void);
*NTGetEnvironmentValue(const char *);

#if !defined(MAGICKCORE_LTDL_DELEGATE)
extern MagickPrivate const char
Expand Down
2 changes: 1 addition & 1 deletion magick/nt-base.c
Original file line number Diff line number Diff line change
Expand Up @@ -884,7 +884,7 @@ MagickPrivate MagickBooleanType NTGetExecutionPath(char *path,
% char *NTGetLastError(void)
%
*/
char *NTGetLastError(void)
static char *NTGetLastError(void)
{
char
*reason;
Expand Down

0 comments on commit cb44173

Please sign in to comment.