diff options
author | archie <archie@FreeBSD.org> | 2000-02-02 02:39:09 +0800 |
---|---|---|
committer | archie <archie@FreeBSD.org> | 2000-02-02 02:39:09 +0800 |
commit | c6c48c5a6649675baf3c8238ee23d15388f3a4bf (patch) | |
tree | feea74c14ee2a1f39ba17298d9cb3a99fcc64d93 /security | |
parent | f6a3b24dde4793e34183d682a61dc1ae29963946 (diff) | |
download | freebsd-ports-gnome-c6c48c5a6649675baf3c8238ee23d15388f3a4bf.tar.gz freebsd-ports-gnome-c6c48c5a6649675baf3c8238ee23d15388f3a4bf.tar.zst freebsd-ports-gnome-c6c48c5a6649675baf3c8238ee23d15388f3a4bf.zip |
Accomodate change in struct ipprotosw to fix port on -current.
Add a patch file that got missed last time somehow.
PR: ports/16496
Submitted by: Matthew Reimer <mreimer@vpop.net>
Diffstat (limited to 'security')
-rw-r--r-- | security/skip/Makefile | 6 | ||||
-rw-r--r-- | security/skip/files/patch-bs | 79 | ||||
-rw-r--r-- | security/skip/files/patch-dg | 396 |
3 files changed, 456 insertions, 25 deletions
diff --git a/security/skip/Makefile b/security/skip/Makefile index 966f9004790a..90feb78fb8cf 100644 --- a/security/skip/Makefile +++ b/security/skip/Makefile @@ -64,4 +64,10 @@ post-patch: ${MV} $$FILE.new $$FILE; \ done +# This is for port maintenance, uncomment to regenerate patch set +#diffs: +# rm -rf patches/patch-* +# diff -ur --unidirectional-new-file skipsrc-1.0.orig work.new \ +# | split -p ^diff - patches/patch- + .include <bsd.port.mk> diff --git a/security/skip/files/patch-bs b/security/skip/files/patch-bs index 4de36f9cc465..591fff4e2aa5 100644 --- a/security/skip/files/patch-bs +++ b/security/skip/files/patch-bs @@ -1,7 +1,31 @@ diff -ur --unidirectional-new-file skipsrc-1.0.orig/skip/freebsd/skip_es.c work.new/skip/freebsd/skip_es.c --- skipsrc-1.0.orig/skip/freebsd/skip_es.c Fri Oct 25 13:12:42 1996 -+++ work.new/skip/freebsd/skip_es.c Mon Jan 24 12:35:39 2000 -@@ -81,6 +81,11 @@ ++++ work.new/skip/freebsd/skip_es.c Tue Feb 1 10:07:11 2000 +@@ -63,6 +63,10 @@ + #include <skip_if.h> + #include <skip_crypt.h> + ++#if __FreeBSD_version >= 400013 ++#include <netinet/ipprotosw.h> ++#endif ++ + /* + * global SKIP interface information + */ +@@ -73,14 +77,24 @@ + int skip_alignment = 4; /* 32 bit */ + static unsigned int inetsw_size = 0; + ++#if __FreeBSD_version < 400013 + static struct protosw *inetsw_default; + extern struct protosw inetsw[]; ++#else ++static struct ipprotosw *inetsw_default; ++extern struct ipprotosw inetsw[]; ++#endif + + skip_es_t *skip_es_ifs = NULL; + static int skip_inited = 0; static unsigned short skip_pktid; static skip_softc_t skip_softc[SKIP_MAX_OPENS]; @@ -13,7 +37,7 @@ diff -ur --unidirectional-new-file skipsrc-1.0.orig/skip/freebsd/skip_es.c work. /* * statistics */ -@@ -116,11 +121,13 @@ +@@ -116,11 +130,13 @@ static int skip_ifoutput(struct ifnet *, struct mbuf *, struct sockaddr *, struct rtentry *rtp); static int skip_ifinput(struct mbuf *, int); @@ -30,7 +54,7 @@ diff -ur --unidirectional-new-file skipsrc-1.0.orig/skip/freebsd/skip_es.c work. static void skip_encrypt_done(void *, struct mbuf *, struct mbuf *, void *, skip_arg_t *); -@@ -136,14 +143,14 @@ +@@ -136,14 +152,14 @@ /* * From Crypt/MAC system... */ @@ -53,7 +77,7 @@ diff -ur --unidirectional-new-file skipsrc-1.0.orig/skip/freebsd/skip_es.c work. extern int skip_fmt_kmgr(union skip_messages *, skip_keycb_t *); extern struct cdevsw skipdevsw; -@@ -157,7 +164,7 @@ +@@ -157,7 +173,7 @@ * Returns: 0 on success, errno otherwise. */ int @@ -62,7 +86,7 @@ diff -ur --unidirectional-new-file skipsrc-1.0.orig/skip/freebsd/skip_es.c work. { register int s, rc; register struct protosw *pr; -@@ -252,7 +259,10 @@ +@@ -252,7 +268,10 @@ for (pr = inetdomain.dom_protosw; pr < inetdomain.dom_protoswNPROTOSW; pr++) { @@ -74,7 +98,7 @@ diff -ur --unidirectional-new-file skipsrc-1.0.orig/skip/freebsd/skip_es.c work. } splx(s); } -@@ -266,7 +276,7 @@ +@@ -266,7 +285,7 @@ * Returns: 0 on success, errno otherwise. */ int @@ -83,7 +107,7 @@ diff -ur --unidirectional-new-file skipsrc-1.0.orig/skip/freebsd/skip_es.c work. { register int s; if (skip_busy || skip_keys_stats.skip_encrypt_keys_active -@@ -319,7 +329,11 @@ +@@ -319,7 +338,11 @@ major(dev), flags); #endif @@ -95,7 +119,7 @@ diff -ur --unidirectional-new-file skipsrc-1.0.orig/skip/freebsd/skip_es.c work. return (EPERM); } if (minor(dev) >= SKIP_MAX_OPENS) { -@@ -422,27 +436,30 @@ +@@ -422,27 +445,30 @@ * Returns: 0 if no data available, 1 otherwise */ int @@ -136,7 +160,7 @@ diff -ur --unidirectional-new-file skipsrc-1.0.orig/skip/freebsd/skip_es.c work. } /* skip_ifread() -@@ -786,9 +803,9 @@ +@@ -786,9 +812,9 @@ * Returns: None */ static void @@ -148,7 +172,7 @@ diff -ur --unidirectional-new-file skipsrc-1.0.orig/skip/freebsd/skip_es.c work. } /* skip_uninittimers() -@@ -798,9 +815,10 @@ +@@ -798,9 +824,10 @@ * Returns: None */ static void @@ -161,7 +185,7 @@ diff -ur --unidirectional-new-file skipsrc-1.0.orig/skip/freebsd/skip_es.c work. } /* skip_timer() -@@ -812,14 +830,13 @@ +@@ -812,14 +839,13 @@ */ /*ARGSUSED*/ static void @@ -178,7 +202,7 @@ diff -ur --unidirectional-new-file skipsrc-1.0.orig/skip/freebsd/skip_es.c work. } #ifdef notdef -@@ -846,6 +863,7 @@ +@@ -846,6 +872,7 @@ } #endif @@ -186,7 +210,7 @@ diff -ur --unidirectional-new-file skipsrc-1.0.orig/skip/freebsd/skip_es.c work. void skip_dump_buf(char *what, unsigned char *p, int len) { -@@ -857,7 +875,9 @@ +@@ -857,7 +884,9 @@ } printf("].\n"); } @@ -196,7 +220,7 @@ diff -ur --unidirectional-new-file skipsrc-1.0.orig/skip/freebsd/skip_es.c work. void skip_dump_ip(struct ip *ip) { -@@ -878,6 +898,7 @@ +@@ -878,6 +907,7 @@ ip->ip_ttl, ip->ip_p, ntohs(ip->ip_sum)); } @@ -204,7 +228,7 @@ diff -ur --unidirectional-new-file skipsrc-1.0.orig/skip/freebsd/skip_es.c work. /* * SKIP Ioctl and Interface management routines -@@ -1107,7 +1128,7 @@ +@@ -1107,7 +1137,7 @@ int skip_ifioctl(dev, cmd, data, fflag, p) dev_t dev; @@ -213,7 +237,7 @@ diff -ur --unidirectional-new-file skipsrc-1.0.orig/skip/freebsd/skip_es.c work. caddr_t data; int fflag; struct proc *p; -@@ -1390,7 +1411,6 @@ +@@ -1390,7 +1420,6 @@ skip_es_t *skip_if; int iphlen, hdrlen = 0; struct mbuf *decryptbuf = NULL; @@ -221,7 +245,7 @@ diff -ur --unidirectional-new-file skipsrc-1.0.orig/skip/freebsd/skip_es.c work. skip_param_t params; skip_hdr_t skip_hdr; skip_es_hash_t *entry, **acl; -@@ -1718,7 +1738,7 @@ +@@ -1718,7 +1747,7 @@ */ decryptbuf->m_data += iphlen; @@ -230,16 +254,21 @@ diff -ur --unidirectional-new-file skipsrc-1.0.orig/skip/freebsd/skip_es.c work. decryptbuf->m_len, decryptbuf->m_data); } -@@ -1745,7 +1765,7 @@ +@@ -1745,8 +1774,12 @@ ip->ip_id = ntohs(ip->ip_id); ip->ip_off = ntohs(ip->ip_off); pass: - m->m_flags &= ~ M_EOR; + m->m_flags &= ~ M_PROTO1; ++#if __FreeBSD_version < 400013 (*inetsw_default[ip_protox[ip->ip_p]].pr_input)(m, hlen); ++#else ++ (*inetsw_default[ip_protox[ip->ip_p]].pr_input)(m, hlen, ip->ip_p); ++#endif return (0); } -@@ -1910,6 +1930,13 @@ + +@@ -1910,6 +1943,13 @@ */ IPADDRCOPY(¶ms.tunnel_addr, &newip->ip_dst); @@ -253,7 +282,7 @@ diff -ur --unidirectional-new-file skipsrc-1.0.orig/skip/freebsd/skip_es.c work. encryptbuf->m_len += sizeof (struct ip); /* -@@ -2005,7 +2032,7 @@ +@@ -2005,7 +2045,7 @@ if (params.kp_alg) { newip->ip_p = SKIP_NEXT_ESP; } else { @@ -262,7 +291,7 @@ diff -ur --unidirectional-new-file skipsrc-1.0.orig/skip/freebsd/skip_es.c work. } } skip_if->stats.skip_if_raw_out++; -@@ -2028,6 +2055,13 @@ +@@ -2028,6 +2068,13 @@ * insert tunnel address as destination */ IPADDRCOPY(¶ms.tunnel_addr, &newip->ip_dst); @@ -276,7 +305,7 @@ diff -ur --unidirectional-new-file skipsrc-1.0.orig/skip/freebsd/skip_es.c work. } if (params.s_nsid == 0) { -@@ -2097,7 +2131,7 @@ +@@ -2097,7 +2144,7 @@ register skip_param_t *params = &res->params; register struct ip *ip = mtod(original, struct ip *); int rc, s, iphlen; @@ -285,7 +314,7 @@ diff -ur --unidirectional-new-file skipsrc-1.0.orig/skip/freebsd/skip_es.c work. SKIP_PRINT("skip_decrypt_done", params); -@@ -2125,7 +2159,7 @@ +@@ -2125,7 +2172,7 @@ */ outbuf = (res->modes & SKIP_CRYPT_ON) ? m : original; @@ -294,7 +323,7 @@ diff -ur --unidirectional-new-file skipsrc-1.0.orig/skip/freebsd/skip_es.c work. /* * transport mode, need to copy original IP header */ -@@ -2195,7 +2229,7 @@ +@@ -2195,7 +2242,7 @@ /* * tag the start of the header buffer so SKIP can recognise it */ diff --git a/security/skip/files/patch-dg b/security/skip/files/patch-dg new file mode 100644 index 000000000000..fbbf20ec7205 --- /dev/null +++ b/security/skip/files/patch-dg @@ -0,0 +1,396 @@ +diff -ur --unidirectional-new-file skipsrc-1.0.orig/skip/tools/skiptool/skiptool_stubs.c work.new/skip/tools/skiptool/skiptool_stubs.c +--- skipsrc-1.0.orig/skip/tools/skiptool/skiptool_stubs.c Fri Oct 25 13:13:10 1996 ++++ work.new/skip/tools/skiptool/skiptool_stubs.c Tue Jan 25 09:59:40 2000 +@@ -68,6 +68,10 @@ + + #include "es_glue.h" + ++#ifndef __GNUC__ ++#define __attribute__ (x) ++#endif ++ + /* + * Global object definitions. + */ +@@ -124,7 +128,7 @@ + */ + Attr_attribute INSTANCE; + +-void ++int + main(int argc, char **argv) + { + /* +@@ -161,7 +165,7 @@ + * Turn control over to XView. + */ + xv_main_loop(Skiptool_base_window->base_window); +- exit(0); ++ return(0); + } + + #endif +@@ -173,7 +177,7 @@ + Menu_item + skiptool_menu_item0_callback(Menu_item item, Menu_generate op) + { +- skiptool_base_window_objects * ip = (skiptool_base_window_objects *) xv_get(item, XV_KEY_DATA, INSTANCE); ++ skiptool_base_window_objects * ip __attribute__ ((unused)) = (skiptool_base_window_objects *) xv_get(item, XV_KEY_DATA, INSTANCE); + + switch (op) { + case MENU_DISPLAY: +@@ -206,7 +210,7 @@ + void + skiptool_base_window_access_ctrl_notify_callback(Panel_item item, int value, Event *event) + { +- skiptool_base_window_objects *ip = (skiptool_base_window_objects *) xv_get(item, XV_KEY_DATA, INSTANCE); ++ skiptool_base_window_objects *ip __attribute__ ((unused)) = (skiptool_base_window_objects *) xv_get(item, XV_KEY_DATA, INSTANCE); + + + /* gxv_start_connections DO NOT EDIT THIS SECTION */ +@@ -231,7 +235,7 @@ + void + skiptool_base_window_access_mode_notify_callback(Panel_item item, int value, Event *event) + { +- skiptool_base_window_objects *ip = (skiptool_base_window_objects *) xv_get(item, XV_KEY_DATA, INSTANCE); ++ skiptool_base_window_objects *ip __attribute__ ((unused)) = (skiptool_base_window_objects *) xv_get(item, XV_KEY_DATA, INSTANCE); + + + /* gxv_start_connections DO NOT EDIT THIS SECTION */ +@@ -261,7 +265,7 @@ + void + skiptool_base_window_delete_button_notify_callback(Panel_item item, Event *event) + { +- skiptool_base_window_objects *ip = (skiptool_base_window_objects *) xv_get(item, XV_KEY_DATA, INSTANCE); ++ skiptool_base_window_objects *ip __attribute__ ((unused)) = (skiptool_base_window_objects *) xv_get(item, XV_KEY_DATA, INSTANCE); + + + /* gxv_start_connections DO NOT EDIT THIS SECTION */ +@@ -280,7 +284,7 @@ + void + skiptool_key_params_win_key_apply_notify_callback(Panel_item item, Event *event) + { +- skiptool_key_params_win_objects *ip = (skiptool_key_params_win_objects *) xv_get(item, XV_KEY_DATA, INSTANCE); ++ skiptool_key_params_win_objects *ip __attribute__ ((unused)) = (skiptool_key_params_win_objects *) xv_get(item, XV_KEY_DATA, INSTANCE); + + + /* gxv_start_connections DO NOT EDIT THIS SECTION */ +@@ -302,7 +306,7 @@ + void + skiptool_key_params_win_key_default_notify_callback(Panel_item item, Event *event) + { +- skiptool_key_params_win_objects *ip = (skiptool_key_params_win_objects *) xv_get(item, XV_KEY_DATA, INSTANCE); ++ skiptool_key_params_win_objects *ip __attribute__ ((unused)) = (skiptool_key_params_win_objects *) xv_get(item, XV_KEY_DATA, INSTANCE); + + + /* gxv_start_connections DO NOT EDIT THIS SECTION */ +@@ -322,7 +326,7 @@ + void + skiptool_required_win_required_add_notify_callback(Panel_item item, Event *event) + { +- skiptool_required_win_objects *ip = (skiptool_required_win_objects *) xv_get(item, XV_KEY_DATA, INSTANCE); ++ skiptool_required_win_objects *ip __attribute__ ((unused)) = (skiptool_required_win_objects *) xv_get(item, XV_KEY_DATA, INSTANCE); + + + /* gxv_start_connections DO NOT EDIT THIS SECTION */ +@@ -341,7 +345,7 @@ + void + skiptool_required_win_required_cancel_notify_callback(Panel_item item, Event *event) + { +- skiptool_required_win_objects *ip = (skiptool_required_win_objects *) xv_get(item, XV_KEY_DATA, INSTANCE); ++ skiptool_required_win_objects *ip __attribute__ ((unused)) = (skiptool_required_win_objects *) xv_get(item, XV_KEY_DATA, INSTANCE); + + + /* gxv_start_connections DO NOT EDIT THIS SECTION */ +@@ -360,7 +364,7 @@ + Menu_item + skiptool_help_menu_item1_callback(Menu_item item, Menu_generate op) + { +- skiptool_base_window_objects * ip = (skiptool_base_window_objects *) xv_get(item, XV_KEY_DATA, INSTANCE); ++ skiptool_base_window_objects * ip __attribute__ ((unused)) = (skiptool_base_window_objects *) xv_get(item, XV_KEY_DATA, INSTANCE); + + switch (op) { + case MENU_DISPLAY: +@@ -405,7 +409,7 @@ + Menu_item + skiptool_stats_menu_item0_callback(Menu_item item, Menu_generate op) + { +- Xv_opaque ip = (Xv_opaque) xv_get(item, XV_KEY_DATA, INSTANCE); ++ Xv_opaque ip __attribute__ ((unused)) = (Xv_opaque) xv_get(item, XV_KEY_DATA, INSTANCE); + + switch (op) { + case MENU_DISPLAY: +@@ -438,7 +442,7 @@ + Menu_item + skiptool_stats_menu_item1_callback(Menu_item item, Menu_generate op) + { +- Xv_opaque ip = (Xv_opaque) xv_get(item, XV_KEY_DATA, INSTANCE); ++ Xv_opaque ip __attribute__ ((unused)) = (Xv_opaque) xv_get(item, XV_KEY_DATA, INSTANCE); + + switch (op) { + case MENU_DISPLAY: +@@ -471,7 +475,7 @@ + Menu_item + skiptool_stats_menu_item2_callback(Menu_item item, Menu_generate op) + { +- Xv_opaque ip = (Xv_opaque) xv_get(item, XV_KEY_DATA, INSTANCE); ++ Xv_opaque ip __attribute__ ((unused)) = (Xv_opaque) xv_get(item, XV_KEY_DATA, INSTANCE); + + switch (op) { + case MENU_DISPLAY: +@@ -504,7 +508,7 @@ + Menu_item + skiptool_stats_menu_item3_callback(Menu_item item, Menu_generate op) + { +- Xv_opaque ip = (Xv_opaque) xv_get(item, XV_KEY_DATA, INSTANCE); ++ Xv_opaque ip __attribute__ ((unused)) = (Xv_opaque) xv_get(item, XV_KEY_DATA, INSTANCE); + + switch (op) { + case MENU_DISPLAY: +@@ -537,7 +541,7 @@ + void + skiptool_hostwin_v2_s_nsid_notify_callback(Panel_item item, int value, Event *event) + { +- skiptool_hostwin_v2_objects *ip = (skiptool_hostwin_v2_objects *) xv_get(item, XV_KEY_DATA, INSTANCE); ++ skiptool_hostwin_v2_objects *ip __attribute__ ((unused)) = (skiptool_hostwin_v2_objects *) xv_get(item, XV_KEY_DATA, INSTANCE); + + + /* gxv_start_connections DO NOT EDIT THIS SECTION */ +@@ -572,6 +576,10 @@ + + case PANEL_LIST_OP_DELETE: + break; ++ ++ case PANEL_LIST_OP_DESELECT: ++ case PANEL_LIST_OP_DBL_CLICK: ++ break; + } + /* gxv_start_connections DO NOT EDIT THIS SECTION */ + +@@ -601,6 +609,10 @@ + + case PANEL_LIST_OP_DELETE: + break; ++ ++ case PANEL_LIST_OP_DESELECT: ++ case PANEL_LIST_OP_DBL_CLICK: ++ break; + } + + /* gxv_start_connections DO NOT EDIT THIS SECTION */ +@@ -616,7 +628,7 @@ + void + skiptool_base_window_delete_xbutton_notify_callback(Panel_item item, Event *event) + { +- skiptool_base_window_objects *ip = (skiptool_base_window_objects *) xv_get(item, XV_KEY_DATA, INSTANCE); ++ skiptool_base_window_objects *ip __attribute__ ((unused)) = (skiptool_base_window_objects *) xv_get(item, XV_KEY_DATA, INSTANCE); + + /* gxv_start_connections DO NOT EDIT THIS SECTION */ + +@@ -634,7 +646,7 @@ + void + skiptool_base_window_to_x_notify_callback(Panel_item item, Event *event) + { +- skiptool_base_window_objects *ip = (skiptool_base_window_objects *) xv_get(item, XV_KEY_DATA, INSTANCE); ++ skiptool_base_window_objects *ip __attribute__ ((unused)) = (skiptool_base_window_objects *) xv_get(item, XV_KEY_DATA, INSTANCE); + + /* gxv_start_connections DO NOT EDIT THIS SECTION */ + +@@ -652,7 +664,7 @@ + void + skiptool_base_window_to_a_notify_callback(Panel_item item, Event *event) + { +- skiptool_base_window_objects *ip = (skiptool_base_window_objects *) xv_get(item, XV_KEY_DATA, INSTANCE); ++ skiptool_base_window_objects *ip __attribute__ ((unused)) = (skiptool_base_window_objects *) xv_get(item, XV_KEY_DATA, INSTANCE); + + /* gxv_start_connections DO NOT EDIT THIS SECTION */ + +@@ -670,7 +682,7 @@ + Menu_item + skiptool_stats_menu_item4_callback(Menu_item item, Menu_generate op) + { +- Xv_opaque ip = (Xv_opaque) xv_get(item, XV_KEY_DATA, INSTANCE); ++ Xv_opaque ip __attribute__ ((unused)) = (Xv_opaque) xv_get(item, XV_KEY_DATA, INSTANCE); + + switch (op) { + case MENU_DISPLAY: +@@ -703,7 +715,7 @@ + Menu_item + skiptool_stats_menu_item5_callback(Menu_item item, Menu_generate op) + { +- Xv_opaque ip = (Xv_opaque) xv_get(item, XV_KEY_DATA, INSTANCE); ++ Xv_opaque ip __attribute__ ((unused)) = (Xv_opaque) xv_get(item, XV_KEY_DATA, INSTANCE); + + switch (op) { + case MENU_DISPLAY: +@@ -736,7 +748,7 @@ + Menu_item + skiptool_menu_item1_callback(Menu_item item, Menu_generate op) + { +- skiptool_base_window_objects * ip = (skiptool_base_window_objects *) xv_get(item, XV_KEY_DATA, INSTANCE); ++ skiptool_base_window_objects * ip __attribute__ ((unused)) = (skiptool_base_window_objects *) xv_get(item, XV_KEY_DATA, INSTANCE); + + switch (op) { + case MENU_DISPLAY: +@@ -772,7 +784,7 @@ + Menu_item + skiptool_menu_item3_callback(Menu_item item, Menu_generate op) + { +- skiptool_base_window_objects * ip = (skiptool_base_window_objects *) xv_get(item, XV_KEY_DATA, INSTANCE); ++ skiptool_base_window_objects * ip __attribute__ ((unused)) = (skiptool_base_window_objects *) xv_get(item, XV_KEY_DATA, INSTANCE); + + switch (op) { + case MENU_DISPLAY: +@@ -805,7 +817,7 @@ + Menu_item + skiptool_menu_item4_callback(Menu_item item, Menu_generate op) + { +- skiptool_base_window_objects * ip = (skiptool_base_window_objects *) xv_get(item, XV_KEY_DATA, INSTANCE); ++ skiptool_base_window_objects * ip __attribute__ ((unused)) = (skiptool_base_window_objects *) xv_get(item, XV_KEY_DATA, INSTANCE); + + switch (op) { + case MENU_DISPLAY: +@@ -838,7 +850,7 @@ + Menu_item + skiptool_version_menu_item0_callback(Menu_item item, Menu_generate op) + { +- Xv_opaque ip = (Xv_opaque) xv_get(item, XV_KEY_DATA, INSTANCE); ++ Xv_opaque ip __attribute__ ((unused)) = (Xv_opaque) xv_get(item, XV_KEY_DATA, INSTANCE); + + switch (op) { + case MENU_DISPLAY: +@@ -869,7 +881,7 @@ + Menu_item + skiptool_version_menu_item1_callback(Menu_item item, Menu_generate op) + { +- Xv_opaque ip = (Xv_opaque) xv_get(item, XV_KEY_DATA, INSTANCE); ++ Xv_opaque ip __attribute__ ((unused)) = (Xv_opaque) xv_get(item, XV_KEY_DATA, INSTANCE); + + switch (op) { + case MENU_DISPLAY: +@@ -900,7 +912,7 @@ + Menu_item + skiptool_version_menu_item2_callback(Menu_item item, Menu_generate op) + { +- Xv_opaque ip = (Xv_opaque) xv_get(item, XV_KEY_DATA, INSTANCE); ++ Xv_opaque ip __attribute__ ((unused)) = (Xv_opaque) xv_get(item, XV_KEY_DATA, INSTANCE); + + switch (op) { + case MENU_DISPLAY: +@@ -931,7 +943,7 @@ + Menu_item + skiptool_version_menu_nom_item0_callback(Menu_item item, Menu_generate op) + { +- Xv_opaque ip = (Xv_opaque) xv_get(item, XV_KEY_DATA, INSTANCE); ++ Xv_opaque ip __attribute__ ((unused)) = (Xv_opaque) xv_get(item, XV_KEY_DATA, INSTANCE); + + switch (op) { + case MENU_DISPLAY: +@@ -962,7 +974,7 @@ + Menu_item + skiptool_version_menu_nom_item1_callback(Menu_item item, Menu_generate op) + { +- Xv_opaque ip = (Xv_opaque) xv_get(item, XV_KEY_DATA, INSTANCE); ++ Xv_opaque ip __attribute__ ((unused)) = (Xv_opaque) xv_get(item, XV_KEY_DATA, INSTANCE); + + switch (op) { + case MENU_DISPLAY: +@@ -993,7 +1005,7 @@ + Menu_item + skiptool_version_menu_net_item0_callback(Menu_item item, Menu_generate op) + { +- Xv_opaque ip = (Xv_opaque) xv_get(item, XV_KEY_DATA, INSTANCE); ++ Xv_opaque ip __attribute__ ((unused)) = (Xv_opaque) xv_get(item, XV_KEY_DATA, INSTANCE); + + switch (op) { + case MENU_DISPLAY: +@@ -1024,7 +1036,7 @@ + Menu_item + skiptool_version_menu_net_item1_callback(Menu_item item, Menu_generate op) + { +- Xv_opaque ip = (Xv_opaque) xv_get(item, XV_KEY_DATA, INSTANCE); ++ Xv_opaque ip __attribute__ ((unused)) = (Xv_opaque) xv_get(item, XV_KEY_DATA, INSTANCE); + + switch (op) { + case MENU_DISPLAY: +@@ -1055,7 +1067,7 @@ + Menu_item + skiptool_version_menu_net_item2_callback(Menu_item item, Menu_generate op) + { +- Xv_opaque ip = (Xv_opaque) xv_get(item, XV_KEY_DATA, INSTANCE); ++ Xv_opaque ip __attribute__ ((unused)) = (Xv_opaque) xv_get(item, XV_KEY_DATA, INSTANCE); + + switch (op) { + case MENU_DISPLAY: +@@ -1086,7 +1098,7 @@ + Menu_item + skiptool_version_menu_net_item3_callback(Menu_item item, Menu_generate op) + { +- Xv_opaque ip = (Xv_opaque) xv_get(item, XV_KEY_DATA, INSTANCE); ++ Xv_opaque ip __attribute__ ((unused)) = (Xv_opaque) xv_get(item, XV_KEY_DATA, INSTANCE); + + switch (op) { + case MENU_DISPLAY: +@@ -1346,7 +1358,7 @@ + Menu_item + skiptool_version_menu_item3_callback(Menu_item item, Menu_generate op) + { +- Xv_opaque ip = (Xv_opaque) xv_get(item, XV_KEY_DATA, INSTANCE); ++ Xv_opaque ip __attribute__ ((unused)) = (Xv_opaque) xv_get(item, XV_KEY_DATA, INSTANCE); + + switch (op) { + case MENU_DISPLAY: +@@ -1377,7 +1389,7 @@ + Menu_item + skiptool_xversion_menu_nom_item0_callback(Menu_item item, Menu_generate op) + { +- Xv_opaque ip = (Xv_opaque) xv_get(item, XV_KEY_DATA, INSTANCE); ++ Xv_opaque ip __attribute__ ((unused)) = (Xv_opaque) xv_get(item, XV_KEY_DATA, INSTANCE); + + switch (op) { + case MENU_DISPLAY: +@@ -1410,7 +1422,7 @@ + Menu_item + skiptool_xversion_menu_nom_item1_callback(Menu_item item, Menu_generate op) + { +- Xv_opaque ip = (Xv_opaque) xv_get(item, XV_KEY_DATA, INSTANCE); ++ Xv_opaque ip __attribute__ ((unused)) = (Xv_opaque) xv_get(item, XV_KEY_DATA, INSTANCE); + + switch (op) { + case MENU_DISPLAY: +@@ -1443,7 +1455,7 @@ + Menu_item + skiptool_exc_menu_item0_callback(Menu_item item, Menu_generate op) + { +- skiptool_base_window_objects * ip = (skiptool_base_window_objects *) xv_get(item, XV_KEY_DATA, INSTANCE); ++ skiptool_base_window_objects * ip __attribute__ ((unused)) = (skiptool_base_window_objects *) xv_get(item, XV_KEY_DATA, INSTANCE); + + switch (op) { + case MENU_DISPLAY: +@@ -1476,7 +1488,7 @@ + Menu_item + skiptool_exc_menu_item1_callback(Menu_item item, Menu_generate op) + { +- skiptool_base_window_objects * ip = (skiptool_base_window_objects *) xv_get(item, XV_KEY_DATA, INSTANCE); ++ skiptool_base_window_objects * ip __attribute__ ((unused)) = (skiptool_base_window_objects *) xv_get(item, XV_KEY_DATA, INSTANCE); + + switch (op) { + case MENU_DISPLAY: +@@ -1842,7 +1854,7 @@ + void + skiptool_nomwin_v2_skip_mode_notify_callback(Panel_item item, int value, Event *event) + { +- skiptool_nomwin_v2_objects *ip = (skiptool_nomwin_v2_objects *) xv_get(item, XV_KEY_DATA, INSTANCE); ++ skiptool_nomwin_v2_objects *ip __attribute__ ((unused)) = (skiptool_nomwin_v2_objects *) xv_get(item, XV_KEY_DATA, INSTANCE); + + + /* gxv_start_connections DO NOT EDIT THIS SECTION */ +@@ -1910,7 +1922,7 @@ + void + skiptool_base_window_about_button_notify_callback(Panel_item item, Event *event) + { +- skiptool_base_window_objects *ip = (skiptool_base_window_objects *) xv_get(item, XV_KEY_DATA, INSTANCE); ++ skiptool_base_window_objects *ip __attribute__ ((unused)) = (skiptool_base_window_objects *) xv_get(item, XV_KEY_DATA, INSTANCE); + + /* gxv_start_connections DO NOT EDIT THIS SECTION */ + |