diff --git a/dialog.h b/dialog.h index 9ac355c6..68f7dff1 100644 --- a/dialog.h +++ b/dialog.h @@ -2,12 +2,6 @@ * Exports and types from dialog.c. */ -/* - * This will come in handy for generic control handlers. Anyone - * knows how to make this more portable, let me know :-) - */ -#define ATOFFSET(data, offset) ( (void *) ( (char *)(data) + (offset) ) ) - /* * This is the big union which defines a single control, of any * type. diff --git a/ssh.h b/ssh.h index 4fee36bf..2d285d23 100644 --- a/ssh.h +++ b/ssh.h @@ -190,13 +190,6 @@ void share_setup_x11_channel(ssh_sharing_connstate *cs, share_channel *chan, Frontend *ssh_get_frontend(Ssh ssh); -/* - * Useful thing. - */ -#ifndef lenof -#define lenof(x) ( (sizeof((x))) / (sizeof(*(x)))) -#endif - #define SSH_CIPHER_IDEA 1 #define SSH_CIPHER_DES 2 #define SSH_CIPHER_3DES 3