]> asedeno.scripts.mit.edu Git - PuTTY.git/commitdiff
Move the prototype for platform_get_x11_auth() from x11fwd.c to ssh.h so that
authorBen Harris <bjh21@bjh21.me.uk>
Sat, 11 Jan 2003 14:20:00 +0000 (14:20 +0000)
committerBen Harris <bjh21@bjh21.me.uk>
Sat, 11 Jan 2003 14:20:00 +0000 (14:20 +0000)
it can be checked against the implementation.

[originally from svn r2542]

ssh.h
x11fwd.c

diff --git a/ssh.h b/ssh.h
index 4ad0543a47ae7f68c31feb0c0118e3ac1803ae2b..4a1d03df86a7a81af6ccbc4993ff6e667671dcd7 100644 (file)
--- 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);
index 5ef53d491bc4fc4dd85209440a884a9c0232cb18..52cfd8fea35c54880992608d764623723e5b4f62 100644 (file)
--- 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 */