Skip to content

Commit

Permalink
MDEV-8941 Compile on Solaris (SPARC) fails with errors in filamvct.cpp
Browse files Browse the repository at this point in the history
There are a large number of uses of `strerror` in the codebase,
the local declaration in `storage/connect/tabvct.cpp` is the only one.

Given that none is needed elsewhere, I conclude that this instance can
simply be removed.
  • Loading branch information
rorth authored and grooverdan committed Jan 10, 2024
1 parent c6e1ffd commit 2310f65
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions storage/connect/tabvct.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -71,11 +71,6 @@
#include "tabvct.h"
#include "valblk.h"

#if defined(UNIX)
//add dummy strerror (NGC)
char *strerror(int num);
#endif // UNIX

/***********************************************************************/
/* External function. */
/***********************************************************************/
Expand Down

0 comments on commit 2310f65

Please sign in to comment.