X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/blobdiff_plain/a751eca6198cd7908209939fdef33d791283cc94..6cb61a05b6157236bbea7b351cfc741eb6853605:/mac/macterm.c diff --git a/mac/macterm.c b/mac/macterm.c index 2e0f25d9..6d0904bd 100644 --- a/mac/macterm.c +++ b/mac/macterm.c @@ -1,4 +1,4 @@ -/* $Id: macterm.c,v 1.26 2002/12/30 18:21:17 ben Exp $ */ +/* $Id: macterm.c,v 1.27 2002/12/31 01:40:14 ben Exp $ */ /* * Copyright (c) 1999 Simon Tatham * Copyright (c) 1999, 2002 Ben Harris @@ -137,18 +137,6 @@ static void display_resource(Session *s, unsigned long type, short id) { DisposeHandle(h); } - -void mac_newsession(void) { - Session *s; - - /* This should obviously be initialised by other means */ - s = smalloc(sizeof(*s)); - memset(s, 0, sizeof(*s)); - do_defaults(NULL, &s->cfg); - s->back = &loop_backend; - mac_startsession(s); -} - void mac_opensession(void) { Session *s; StandardFileReply sfr;