From owner-freebsd-current Tue Mar 4 11:40:28 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2636437B401; Tue, 4 Mar 2003 11:40:18 -0800 (PST) Received: from canning.wemm.org (canning.wemm.org [192.203.228.65]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1A92D43FCB; Tue, 4 Mar 2003 11:40:17 -0800 (PST) (envelope-from peter@wemm.org) Received: from wemm.org (localhost [127.0.0.1]) by canning.wemm.org (Postfix) with ESMTP id 022FD2A8BB; Tue, 4 Mar 2003 11:40:17 -0800 (PST) (envelope-from peter@wemm.org) X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 To: Terry Lambert Cc: Mike Barcroft , Tim Robbins , freebsd-net@freebsd.org, freebsd-current@freebsd.org Subject: Re: Removal of netns - politically correct version In-Reply-To: <3E64E740.9D1DC8B3@mindspring.com> Date: Tue, 04 Mar 2003 11:40:17 -0800 From: Peter Wemm Message-Id: <20030304194017.022FD2A8BB@canning.wemm.org> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Terry Lambert wrote: > Is there a compelling reason for removing this working code to > the Attic? Terry: will you please check your facts? It takes around 30 seconds to find out that it doesn't even compile. In file included from ../../../netns/idp_usrreq.c:51: ../../../netns/ns_pcb.h:82: warning: function declaration isn't a prototype ../../../netns/idp_usrreq.c:67: warning: return type defaults to `int' ../../../netns/idp_usrreq.c:67: warning: function declaration isn't a prototype ../../../netns/idp_usrreq.c: In function `idp_input': ../../../netns/idp_usrreq.c:83: incompatible types in assignment ../../../netns/idp_usrreq.c:83: structure has no member named `ifa_next' ../../../netns/idp_usrreq.c:101: warning: `return' with no value, in function returning non-void ../../../netns/idp_usrreq.c: At top level: ../../../netns/idp_usrreq.c:107: warning: return type defaults to `int' ../../../netns/idp_usrreq.c:107: warning: function declaration isn't a prototype ../../../netns/idp_usrreq.c: In function `idp_abort': ../../../netns/idp_usrreq.c:111: warning: implicit declaration of function `ns_pcbdisconnect' ../../../netns/idp_usrreq.c: At top level: ../../../netns/idp_usrreq.c:120: warning: function declaration isn't a prototype ../../../netns/idp_usrreq.c:141: warning: return type defaults to `int' ../../../netns/idp_usrreq.c:141: warning: function declaration isn't a prototype ../../../netns/idp_usrreq.c: In function `idp_output': ../../../netns/idp_usrreq.c:150: warning: nested extern declaration of `idpcksum' ../../../netns/idp_usrreq.c:184: warning: address of register variable `m' requested ../../../netns/idp_usrreq.c:200: too many arguments to function `ns_cksum' ../../../netns/idp_usrreq.c:209: warning: implicit declaration of function `ns_output' ../../../netns/idp_usrreq.c: At top level: ../../../netns/idp_usrreq.c:258: warning: return type defaults to `int' ../../../netns/idp_usrreq.c:258: warning: function declaration isn't a prototype ../../../netns/idp_usrreq.c: In function `idp_ctloutput': ../../../netns/idp_usrreq.c:266: warning: nested extern declaration of `ns_pexseq' ../../../netns/idp_usrreq.c: At top level: ../../../netns/idp_usrreq.c:369: warning: return type defaults to `int' ../../../netns/idp_usrreq.c:369: warning: function declaration isn't a prototype ../../../netns/idp_usrreq.c: In function `idp_usrreq': ../../../netns/idp_usrreq.c:377: warning: implicit declaration of function `ns_control' ../../../netns/idp_usrreq.c:394: warning: implicit declaration of function `ns_pcballoc' ../../../netns/idp_usrreq.c:407: warning: implicit declaration of function `ns_pcbdetach' ../../../netns/idp_usrreq.c:411: warning: implicit declaration of function `ns_pcbbind' ../../../netns/idp_usrreq.c:423: warning: implicit declaration of function `ns_pcbconnect' ../../../netns/idp_usrreq.c:493: warning: implicit declaration of function `ns_setsockaddr' ../../../netns/idp_usrreq.c:497: warning: implicit declaration of function `ns_setpeeraddr' ../../../netns/idp_usrreq.c: At top level: ../../../netns/idp_usrreq.c:531: warning: return type defaults to `int' ../../../netns/idp_usrreq.c:531: warning: function declaration isn't a prototype ../../../netns/idp_usrreq.c: In function `idp_raw_usrreq': ../../../netns/idp_usrreq.c:537: warning: nested extern declaration of `nsrawpcb' ../../../netns/idp_usrreq.c:543: `SS_PRIV' undeclared (first use in this function) ../../../netns/idp_usrreq.c:543: (Each undeclared identifier is reported only once ../../../netns/idp_usrreq.c:543: for each function it appears in.) In file included from ../../../netns/ns.c:40: ../../../sys/ioctl.h:47:2: #warning "Don't #include ioctl.h in the kernel. Include xxxio.h instead." In file included from ../../../netns/ns_error.c:49: ../../../netns/ns_pcb.h:82: warning: function declaration isn't a prototype ../../../netns/ns_error.c:66: warning: return type defaults to `int' ../../../netns/ns_error.c:66: warning: function declaration isn't a prototype ../../../netns/ns_error.c:91: warning: return type defaults to `int' ../../../netns/ns_error.c:91: warning: function declaration isn't a prototype ../../../netns/ns_error.c: In function `ns_error': ../../../netns/ns_error.c:98: warning: nested extern declaration of `idpcksum' ../../../netns/ns_error.c:107: warning: implicit declaration of function `ns_echo' ../../../netns/ns_error.c:108: warning: `return' with no value, in function returning non-void ../../../netns/ns_error.c:159: too many arguments to function `ns_cksum' ../../../netns/ns_error.c:162: warning: implicit declaration of function `ns_output' ../../../netns/ns_error.c: At top level: ../../../netns/ns_error.c:169: warning: return type defaults to `int' ../../../netns/ns_error.c:169: warning: function declaration isn't a prototype ../../../netns/ns_error.c:186: warning: return type defaults to `int' ../../../netns/ns_error.c:186: warning: function declaration isn't a prototype ../../../netns/ns_error.c: In function `ns_err_input': ../../../netns/ns_error.c:208: warning: `return' with no value, in function returning non-void ../../../netns/ns_error.c:266: warning: implicit declaration of function `spp_ctlinput' ../../../netns/ns_error.c:270: warning: implicit declaration of function `idp_ctlinput' ../../../netns/ns_error.c:189: warning: unused variable `epidp' ../../../netns/ns_error.c: At top level: ../../../netns/ns_error.c:299: warning: return type defaults to `int' ../../../netns/ns_error.c:299: warning: function declaration isn't a prototype ../../../netns/ns_error.c: In function `ns_echo': ../../../netns/ns_error.c:320: too many arguments to function `ns_cksum' In file included from ../../../netns/ns_input.c:57: ../../../netns/ns_pcb.h:82: warning: function declaration isn't a prototype ../../../netns/ns_input.c:74: warning: redundant redeclaration of `nspcb' in same scope ../../../netns/ns_pcb.h:81: warning: previous declaration of `nspcb' ../../../netns/ns_input.c:83: warning: return type defaults to `int' ../../../netns/ns_input.c:83: warning: function declaration isn't a prototype ../../../netns/ns_input.c: In function `ns_init': ../../../netns/ns_input.c:84: warning: nested extern declaration of `time' ../../../netns/ns_input.c: In function `nsintr': ../../../netns/ns_input.c:139: warning: implicit declaration of function `idp_input' ../../../netns/ns_input.c:144: warning: suggest parentheses around assignment used as truth value ../../../netns/ns_input.c:168: too many arguments to function `ns_cksum' ../../../netns/ns_input.c:175: warning: implicit declaration of function `ns_error' ../../../netns/ns_input.c:198: warning: implicit declaration of function `idp_forward' ../../../netns/ns_input.c:206: warning: redundant redeclaration of `idp_forward' in same scope ../../../netns/ns_input.c:198: warning: previous declaration of `idp_forward' ../../../netns/ns_input.c:225: warning: implicit declaration of function `spp_input' ../../../netns/ns_input.c:229: warning: implicit declaration of function `ns_err_input' ../../../netns/ns_input.c:232: warning: redundant redeclaration of `idp_input' in same scope ../../../netns/ns_input.c:139: warning: previous declaration of `idp_input' ../../../netns/ns_input.c:234: warning: redundant redeclaration of `ns_error' in same scope ../../../netns/ns_input.c:175: warning: previous declaration of `ns_error' ../../../netns/ns_input.c: At top level: ../../../netns/ns_input.c:254: warning: return type defaults to `int' ../../../netns/ns_input.c:254: warning: function declaration isn't a prototype ../../../netns/ns_input.c: In function `idp_ctlinput': ../../../netns/ns_input.c:260: warning: function declaration isn't a prototype ../../../netns/ns_input.c:260: warning: nested extern declaration of `idp_abort' ../../../netns/ns_input.c:261: warning: function declaration isn't a prototype ../../../netns/ns_input.c:261: warning: nested extern declaration of `idp_drop' ../../../netns/ns_input.c:265: warning: `return' with no value, in function returning non-void ../../../netns/ns_input.c:267: warning: `return' with no value, in function returning non-void ../../../netns/ns_input.c:277: warning: `return' with no value, in function returning non-void ../../../netns/ns_input.c:290: warning: implicit declaration of function `ns_pcbnotify' ../../../netns/ns_input.c: At top level: ../../../netns/ns_input.c:313: warning: return type defaults to `int' ../../../netns/ns_input.c:313: warning: function declaration isn't a prototype ../../../netns/ns_input.c: In function `idp_forward': ../../../netns/ns_input.c:325: warning: implicit declaration of function `ns_printhost' ../../../netns/ns_input.c:346: warning: implicit declaration of function `idp_do_route' ../../../netns/ns_input.c:358: too many arguments to function `ns_iaonnetof' ../../../netns/ns_input.c:395: warning: implicit declaration of function `ns_output' ../../../netns/ns_input.c:424: warning: implicit declaration of function `idp_undo_route' ../../../netns/ns_input.c: At top level: ../../../netns/ns_input.c:432: warning: return type defaults to `int' ../../../netns/ns_input.c:432: warning: function declaration isn't a prototype ../../../netns/ns_input.c:454: warning: return type defaults to `int' ../../../netns/ns_input.c:454: warning: function declaration isn't a prototype ../../../netns/ns_input.c:460: warning: return type defaults to `int' ../../../netns/ns_input.c:460: warning: function declaration isn't a prototype ../../../netns/ns_input.c: In function `ns_watch_output': ../../../netns/ns_input.c:480: incompatible types in assignment ../../../netns/ns_input.c:481: structure has no member named `ifa_next' ../../../netns/ns_output.c:58: warning: return type defaults to `int' ../../../netns/ns_output.c:58: warning: function declaration isn't a prototype ../../../netns/ns_output.c: In function `ns_output': ../../../netns/ns_output.c:67: warning: nested extern declaration of `idpcksum' ../../../netns/ns_output.c:80: warning: implicit declaration of function `bzero' ../../../netns/ns_output.c:93: too many arguments to function `ns_iaonnetof' ../../../netns/ns_output.c:139: warning: implicit declaration of function `ns_watch_output' ../../../netns/ns_output.c:149: warning: redundant redeclaration of `ns_watch_output' in same scope ../../../netns/ns_output.c:139: warning: previous declaration of `ns_watch_output' ../../../netns/ns_output.c:67: warning: unused variable `idpcksum' In file included from ../../../netns/ns_pcb.c:50: ../../../netns/ns_pcb.h:82: warning: function declaration isn't a prototype ../../../netns/ns_pcb.c:55: warning: return type defaults to `int' ../../../netns/ns_pcb.c:55: warning: function declaration isn't a prototype ../../../netns/ns_pcb.c: In function `ns_pcballoc': ../../../netns/ns_pcb.c:61: `MT_PCB' undeclared (first use in this function) ../../../netns/ns_pcb.c:61: (Each undeclared identifier is reported only once ../../../netns/ns_pcb.c:61: for each function it appears in.) ../../../netns/ns_pcb.c: At top level: ../../../netns/ns_pcb.c:72: warning: return type defaults to `int' ../../../netns/ns_pcb.c:72: warning: function declaration isn't a prototype ../../../netns/ns_pcb.c: In function `ns_pcbbind': ../../../netns/ns_pcb.c:98: `SS_PRIV' undeclared (first use in this function) ../../../netns/ns_pcb.c: At top level: ../../../netns/ns_pcb.c:122: warning: return type defaults to `int' ../../../netns/ns_pcb.c:122: warning: function declaration isn't a prototype ../../../netns/ns_pcb.c: In function `ns_pcbconnect': ../../../netns/ns_pcb.c:200: too many arguments to function `ns_iaonnetof' ../../../netns/ns_pcb.c: At top level: ../../../netns/ns_pcb.c:221: warning: return type defaults to `int' ../../../netns/ns_pcb.c:221: warning: function declaration isn't a prototype ../../../netns/ns_pcb.c: In function `ns_pcbdisconnect': ../../../netns/ns_pcb.c:226: warning: implicit declaration of function `ns_pcbdetach' ../../../netns/ns_pcb.c: At top level: ../../../netns/ns_pcb.c:230: warning: return type defaults to `int' ../../../netns/ns_pcb.c:230: warning: function declaration isn't a prototype ../../../netns/ns_pcb.c:243: warning: return type defaults to `int' ../../../netns/ns_pcb.c:243: warning: function declaration isn't a prototype ../../../netns/ns_pcb.c:257: warning: return type defaults to `int' ../../../netns/ns_pcb.c:257: warning: function declaration isn't a prototype ../../../netns/ns_pcb.c:278: warning: return type defaults to `int' ../../../netns/ns_pcb.c:278: warning: function declaration isn't a prototype ../../../netns/ns_pcb.c: In function `ns_pcbnotify': ../../../netns/ns_pcb.c:280: warning: function declaration isn't a prototype ../../../netns/ns_pcb.c: At top level: ../../../netns/ns_pcb.c:325: warning: function declaration isn't a prototype ../../../netns/ns_proto.c:51: warning: function declaration isn't a prototype ../../../netns/ns_proto.c:52: warning: function declaration isn't a prototype ../../../netns/ns_proto.c:52: warning: function declaration isn't a prototype ../../../netns/ns_proto.c:52: warning: function declaration isn't a prototype ../../../netns/ns_proto.c:52: warning: function declaration isn't a prototype ../../../netns/ns_proto.c:53: warning: function declaration isn't a prototype ../../../netns/ns_proto.c:53: warning: function declaration isn't a prototype ../../../netns/ns_proto.c:54: warning: function declaration isn't a prototype ../../../netns/ns_proto.c:54: warning: function declaration isn't a prototype ../../../netns/ns_proto.c:55: warning: function declaration isn't a prototype ../../../netns/ns_proto.c:55: warning: function declaration isn't a prototype ../../../netns/ns_proto.c:55: warning: function declaration isn't a prototype ../../../netns/ns_proto.c:56: warning: function declaration isn't a prototype ../../../netns/ns_proto.c:56: warning: function declaration isn't a prototype ../../../netns/ns_proto.c:56: warning: function declaration isn't a prototype ../../../netns/ns_proto.c:57: warning: function declaration isn't a prototype ../../../netns/ns_proto.c:59: warning: redundant redeclaration of `nsdomain' in same scope ../../../netns/ns.h:136: warning: previous declaration of `nsdomain' ../../../netns/ns_proto.c:65: warning: initialization from incompatible pointer type ../../../netns/ns_proto.c:68: warning: initialization from incompatible pointer type ../../../netns/ns_proto.c:73: warning: initialization from incompatible pointer type ../../../netns/ns_proto.c:73: warning: initialization from incompatible pointer type ../../../netns/ns_proto.c:75: warning: initialization from incompatible pointer type ../../../netns/ns_proto.c:75: warning: initialization from incompatible pointer type ../../../netns/ns_proto.c:75: warning: initialization from incompatible pointer type ../../../netns/ns_proto.c:78: warning: initialization from incompatible pointer type ../../../netns/ns_proto.c:78: warning: initialization from incompatible pointer type ../../../netns/ns_proto.c:83: warning: initialization from incompatible pointer type ../../../netns/ns_proto.c:88: warning: initialization from incompatible pointer type In file included from ../../../netns/spp_debug.c:52: ../../../netns/ns_pcb.h:82: warning: function declaration isn't a prototype In file included from ../../../netns/spp_debug.c:59: ../../../netns/spp_var.h:198: warning: function declaration isn't a prototype ../../../netns/spp_var.h:198: warning: function declaration isn't a prototype ../../../netns/spp_var.h:199: warning: function declaration isn't a prototype ../../../netns/spp_var.h:199: warning: function declaration isn't a prototype ../../../netns/spp_var.h:199: warning: function declaration isn't a prototype ../../../netns/spp_debug.c:68: warning: return type defaults to `int' ../../../netns/spp_debug.c:68: warning: function declaration isn't a prototype In file included from ../../../netns/spp_usrreq.c:51: ../../../netns/ns_pcb.h:82: warning: function declaration isn't a prototype In file included from ../../../netns/spp_usrreq.c:58: ../../../netns/spp_var.h:198: warning: function declaration isn't a prototype ../../../netns/spp_var.h:198: warning: function declaration isn't a prototype ../../../netns/spp_var.h:199: warning: function declaration isn't a prototype ../../../netns/spp_var.h:199: warning: function declaration isn't a prototype ../../../netns/spp_var.h:199: warning: function declaration isn't a prototype ../../../netns/spp_usrreq.c:65: warning: return type defaults to `int' ../../../netns/spp_usrreq.c:65: warning: function declaration isn't a prototype ../../../netns/spp_usrreq.c:78: warning: return type defaults to `int' ../../../netns/spp_usrreq.c:78: warning: function declaration isn't a prototype ../../../netns/spp_usrreq.c: In function `spp_input': ../../../netns/spp_usrreq.c:91: warning: `return' with no value, in function returning non-void ../../../netns/spp_usrreq.c:100: warning: `return' with no value, in function returning non-void ../../../netns/spp_usrreq.c:175: warning: implicit declaration of function `ns_pcbconnect' ../../../netns/spp_usrreq.c:182: warning: implicit declaration of function `spp_template' ../../../netns/spp_usrreq.c:250: warning: implicit declaration of function `spp_trace' ../../../netns/spp_usrreq.c:256: warning: implicit declaration of function `spp_reass' ../../../netns/spp_usrreq.c:260: warning: implicit declaration of function `spp_output' ../../../netns/spp_usrreq.c:262: warning: `return' with no value, in function returning non-void ../../../netns/spp_usrreq.c:270: warning: implicit declaration of function `ns_error' ../../../netns/spp_usrreq.c:273: warning: `return' with no value, in function returning non-void ../../../netns/spp_usrreq.c: At top level: ../../../netns/spp_usrreq.c:291: warning: return type defaults to `int' ../../../netns/spp_usrreq.c:291: warning: function declaration isn't a prototype ../../../netns/spp_usrreq.c: In function `spp_reass': ../../../netns/spp_usrreq.c:420: warning: suggest parentheses around && within || ../../../netns/spp_usrreq.c:420: warning: suggest parentheses around && within || ../../../netns/spp_usrreq.c:458: warning: redundant redeclaration of `ns_error' in same scope ../../../netns/spp_usrreq.c:447: warning: previous declaration of `ns_error' ../../../netns/spp_usrreq.c: At top level: ../../../netns/spp_usrreq.c:579: warning: return type defaults to `int' ../../../netns/spp_usrreq.c:579: warning: function declaration isn't a prototype ../../../netns/spp_usrreq.c: In function `spp_ctlinput': ../../../netns/spp_usrreq.c:583: warning: nested extern declaration of `nsctlerrmap' ../../../netns/spp_usrreq.c:584: warning: type defaults to `int' in declaration of `spp_abort' ../../../netns/spp_usrreq.c:584: warning: function declaration isn't a prototype ../../../netns/spp_usrreq.c:584: warning: nested extern declaration of `spp_abort' ../../../netns/spp_usrreq.c:584: warning: type defaults to `int' in declaration of `spp_quench' ../../../netns/spp_usrreq.c:584: warning: function declaration isn't a prototype ../../../netns/spp_usrreq.c:584: warning: nested extern declaration of `spp_quench' ../../../netns/spp_usrreq.c:585: warning: function declaration isn't a prototype ../../../netns/spp_usrreq.c:585: warning: nested extern declaration of `idp_drop' ../../../netns/spp_usrreq.c:592: warning: `return' with no value, in function returning non-void ../../../netns/spp_usrreq.c:598: warning: `return' with no value, in function returning non-void ../../../netns/spp_usrreq.c:605: warning: `return' with no value, in function returning non-void ../../../netns/spp_usrreq.c:618: warning: implicit declaration of function `ns_pcbnotify' ../../../netns/spp_usrreq.c: At top level: ../../../netns/spp_usrreq.c:643: warning: return type defaults to `int' ../../../netns/spp_usrreq.c:643: warning: function declaration isn't a prototype ../../../netns/spp_usrreq.c:700: warning: return type defaults to `int' ../../../netns/spp_usrreq.c:700: warning: function declaration isn't a prototype ../../../netns/spp_usrreq.c: In function `spp_output': ../../../netns/spp_usrreq.c:715: warning: nested extern declaration of `idpcksum' ../../../netns/spp_usrreq.c:940: warning: implicit declaration of function `spp_setpersist' ../../../netns/spp_usrreq.c:1079: too many arguments to function `ns_cksum' ../../../netns/spp_usrreq.c:1085: warning: redundant redeclaration of `spp_trace' in same scope ../../../netns/spp_usrreq.c:1018: warning: previous declaration of `spp_trace' ../../../netns/spp_usrreq.c:1088: warning: implicit declaration of function `ns_output' ../../../netns/spp_usrreq.c: At top level: ../../../netns/spp_usrreq.c:1115: warning: return type defaults to `int' ../../../netns/spp_usrreq.c:1115: warning: function declaration isn't a prototype ../../../netns/spp_usrreq.c: In function `spp_setpersist': ../../../netns/spp_usrreq.c:1117: warning: type defaults to `int' in declaration of `t' ../../../netns/spp_usrreq.c:1118: warning: nested extern declaration of `spp_backoff' ../../../netns/spp_usrreq.c:1118: warning: redundant redeclaration of `spp_backoff' in same scope ../../../netns/spp_timer.h:125: warning: previous declaration of `spp_backoff' ../../../netns/spp_usrreq.c: At top level: ../../../netns/spp_usrreq.c:1133: warning: return type defaults to `int' ../../../netns/spp_usrreq.c:1133: warning: function declaration isn't a prototype ../../../netns/spp_usrreq.c: In function `spp_ctloutput': ../../../netns/spp_usrreq.c:1146: warning: implicit declaration of function `idp_ctloutput' ../../../netns/spp_usrreq.c: At top level: ../../../netns/spp_usrreq.c:1258: warning: return type defaults to `int' ../../../netns/spp_usrreq.c:1258: warning: function declaration isn't a prototype ../../../netns/spp_usrreq.c: In function `spp_usrreq': ../../../netns/spp_usrreq.c:1270: warning: implicit declaration of function `ns_control' ../../../netns/spp_usrreq.c:1289: warning: implicit declaration of function `ns_pcballoc' ../../../netns/spp_usrreq.c:1299: `MT_PCB' undeclared (first use in this function) ../../../netns/spp_usrreq.c:1299: (Each undeclared identifier is reported only once ../../../netns/spp_usrreq.c:1299: for each function it appears in.) ../../../netns/spp_usrreq.c:1346: warning: implicit declaration of function `ns_pcbbind' ../../../netns/spp_usrreq.c:1477: warning: implicit declaration of function `ns_setsockaddr' ../../../netns/spp_usrreq.c:1481: warning: implicit declaration of function `ns_setpeeraddr' ../../../netns/spp_usrreq.c: At top level: ../../../netns/spp_usrreq.c:1510: warning: return type defaults to `int' ../../../netns/spp_usrreq.c:1510: warning: function declaration isn't a prototype ../../../netns/spp_usrreq.c:1531: warning: return type defaults to `int' ../../../netns/spp_usrreq.c:1531: warning: function declaration isn't a prototype ../../../netns/spp_usrreq.c:1559: warning: function declaration isn't a prototype ../../../netns/spp_usrreq.c: In function `spp_close': ../../../netns/spp_usrreq.c:1577: warning: implicit declaration of function `ns_pcbdetach' ../../../netns/spp_usrreq.c: At top level: ../../../netns/spp_usrreq.c:1588: warning: function declaration isn't a prototype ../../../netns/spp_usrreq.c:1594: warning: function declaration isn't a prototype ../../../netns/spp_usrreq.c:1604: warning: function declaration isn't a prototype ../../../netns/spp_usrreq.c:1625: warning: return type defaults to `int' ../../../netns/spp_usrreq.c:1625: warning: function declaration isn't a prototype ../../../netns/spp_usrreq.c:1637: warning: return type defaults to `int' ../../../netns/spp_usrreq.c:1637: warning: function declaration isn't a prototype ../../../netns/spp_usrreq.c:1661: warning: return type defaults to `int' ../../../netns/spp_usrreq.c:1661: warning: function declaration isn't a prototype ../../../netns/spp_usrreq.c: In function `spp_slowtimo': ../../../netns/spp_usrreq.c:1673: warning: `return' with no value, in function returning non-void ../../../netns/spp_usrreq.c: At top level: ../../../netns/spp_usrreq.c:1704: warning: function declaration isn't a prototype Cheers, -Peter -- Peter Wemm - peter@wemm.org; peter@FreeBSD.org; peter@yahoo-inc.com "All of this is for nothing if we don't go to the stars" - JMS/B5 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message