X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/putty/blobdiff_plain/04b0fa02653b8036135a60dddcb35fdc2cd33bbd..19e29403356adb9b1b61feb4d8051dcc52db5078:/mac/mac.c diff --git a/mac/mac.c b/mac/mac.c index ffc3fe05..330cac7c 100644 --- a/mac/mac.c +++ b/mac/mac.c @@ -1,4 +1,4 @@ -/* $Id: mac.c,v 1.26 2003/01/12 14:45:33 ben Exp $ */ +/* $Id: mac.c,v 1.28 2003/01/14 19:09:24 ben Exp $ */ /* * Copyright (c) 1999 Ben Harris * All rights reserved. @@ -204,14 +204,6 @@ static void mac_startup(void) { default_port = DEFAULT_PORT; flags = FLAG_INTERACTIVE; - /* - * Really grotty hack to ensure that anything that looks at the - * global "cfg" variable gets something vaguely sensible. - * Obviously, nothing should actually be using it, but that will - * take a while to arrange. - */ - do_defaults(NULL, &cfg); - { short vol; long dirid; @@ -710,7 +702,7 @@ void old_keyfile_warning(void) } -char *platform_default_s(char *name) +char *platform_default_s(char const *name) { long smfs; Str255 pname; @@ -732,7 +724,7 @@ char *platform_default_s(char *name) return NULL; } -int platform_default_i(char *name, int def) +int platform_default_i(char const *name, int def) { long smfs;