From: ben Date: Sat, 11 Jan 2003 14:20:00 +0000 (+0000) Subject: Move the prototype for platform_get_x11_auth() from x11fwd.c to ssh.h so that X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/commitdiff_plain/9bee682602d915c63781de96a588eceb2dc8e4e0 Move the prototype for platform_get_x11_auth() from x11fwd.c to ssh.h so that it can be checked against the implementation. git-svn-id: svn://svn.tartarus.org/sgt/putty@2542 cda61777-01e9-0310-a592-d414129be87e --- diff --git a/ssh.h b/ssh.h index 4ad0543a..4a1d03df 100644 --- a/ssh.h +++ b/ssh.h @@ -275,6 +275,10 @@ extern void x11_override_throttle(Socket s, int enable); extern int x11_get_screen_number(char *display); void x11_get_real_auth(void *authv, char *display); +/* Platfdorm-dependent X11 function */ +extern void platform_get_x11_auth(char *display, int *proto, + unsigned char *data, int *datalen); + Bignum copybn(Bignum b); Bignum bn_power_2(int n); void bn_restore_invariant(Bignum b); diff --git a/x11fwd.c b/x11fwd.c index 5ef53d49..52cfd8fe 100644 --- a/x11fwd.c +++ b/x11fwd.c @@ -62,9 +62,6 @@ struct X11Auth { int fakelen, reallen; }; -extern void platform_get_x11_auth(char *display, int *proto, - unsigned char *data, int *datalen); - struct X11Private { const struct plug_function_table *fn; /* the above variable absolutely *must* be the first in this structure */