summaryrefslogtreecommitdiff
path: root/mysys/mf_pack.c
diff options
context:
space:
mode:
authorDavi Arnaut <Davi.Arnaut@Sun.COM>2010-07-15 08:16:06 -0300
committerDavi Arnaut <Davi.Arnaut@Sun.COM>2010-07-15 08:16:06 -0300
commit13f7a1d2447c002adc36dd1bd51305edbc8e8636 (patch)
tree5f9985f179d0e43f7caa8e99eaf627865f967ba0 /mysys/mf_pack.c
parent07e7b4d6fe590cb49a5009842d3153520f2e1a36 (diff)
downloadmariadb-git-13f7a1d2447c002adc36dd1bd51305edbc8e8636.tar.gz
WL#5486: Remove code for unsupported platforms
Remove MS-DOS specific code.
Diffstat (limited to 'mysys/mf_pack.c')
-rw-r--r--mysys/mf_pack.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mysys/mf_pack.c b/mysys/mf_pack.c
index 4f7cd90e8aa..ce148b7dd69 100644
--- a/mysys/mf_pack.c
+++ b/mysys/mf_pack.c
@@ -24,7 +24,7 @@
#include <descrip.h>
#endif /* VMS */
-static char * NEAR_F expand_tilde(char * *path);
+static char * expand_tilde(char **path);
/* Pack a dirname ; Changes HOME to ~/ and current dev to ./ */
/* from is a dirname (from dirname() ?) ending with FN_LIBCHAR */
@@ -377,7 +377,7 @@ size_t unpack_dirname(char * to, const char *from)
/* Expand tilde to home or user-directory */
/* Path is reset to point at FN_LIBCHAR after ~xxx */
-static char * NEAR_F expand_tilde(char * *path)
+static char * expand_tilde(char **path)
{
if (path[0][0] == FN_LIBCHAR)
return home_dir; /* ~/ expanded to home */