25 Commits

Author SHA1 Message Date
Simon Josefsson
04c3738a6c maint: Run 'make update-copyright'. 2025-01-01 18:21:25 +01:00
Collin Funk
dd4c077b34 maint: Fix most instances of '-Wstrict-prototypes'.
* libinetutils/des_rw.c (des_clear_key, des_read, des_write): Don't
use K&R-style function declarations.
* ifconfig/system/linux.c (pnd_read): Use void instead of an empty
argument list.
* libtelnet/auth.c (auth_status, auth_request, auth_send_retry):
Likewise.
* libtelnet/kerberos5.c (kerberos5_cleanup): Likewise.
* ping/ping.c (ping_run): Likewise.
* ping/ping6.c (ping_run): Likewise.
* ping/ping6.h (ping_run): Likewise.
* ping/ping_impl.h (ping_run): Likewise.
* telnet/authenc.c (net_encrypt, telnet_spin): Likewise.
* telnet/commands.c (_setlist_init, auth_help, EncryptHelp)
(ayt_status): Likewise.
* telnet/sys_bsd.c (TerminalNewMode): Likewise.
* telnet/tn3270.c (outputPurge, Push3270, Finish3270, SetIn3270)
(tn3270_ttype): Likewise.
* telnetd/state.c (willoption): Likewise.
* telnetd/telnetd.h (pty_buffer_level): Likewise.
* telnetd/term.c (term_send_eof, term_change_eof, tty_linemode)
(tty_isecho, tty_flowmode, tty_restartany, tty_israw)
(tty_isbinaryin, tty_isbinaryout, tty_isediting, tty_istrapsig)
(tty_issofttab, tty_islitecho, tty_iscrnl, copy_termbuf): Likewise.
* telnetd/termstat.c (termstat, _termstat): Likewise.
* telnetd/utility.c (net_encrypt, telnet_spin): Likewise.
* src/rcp.c (krb_realmofhost): Add the parameter type.
* telnet/ring.c (ring_encrypt): Likewise.
* telnet/ring.h (ring_encrypt): Likewise.
2024-05-09 18:51:54 -07:00
Simon Josefsson
aba8d6528e maint: Run 'make update-copyright'. 2024-01-01 11:28:59 +01:00
Simon Josefsson
4bfe18d36f maint: Run 'make update-copyright'. 2023-01-01 01:37:41 +01:00
Alfred M. Szmidt
6d519229fa Happy GNU 2022 year! 2022-01-01 17:23:02 +01:00
Simon Josefsson
1d5c923528 maint: Use copyright year ranges for readability.
* cfg.mk (update-copyright-env): Add, from coreutils.
(VC_LIST_ALWAYS_EXCLUDE_REGEX): Add, for update-copyright exceptions.
* README: Add info about copyright year ranges.
* *: Update copyright notices.
2021-09-03 18:41:09 +02:00
Alfred M. Szmidt
911413ea57 Happy GNU 2021 year! 2021-01-01 11:35:27 +01:00
Tim Rühsen
4747b63d70 ping6: Fix memleak in ping_set_dest 2020-02-29 18:37:20 +01:00
Simon Josefsson
d8de4587f2 Update copyright years to use intervals up to 2020. 2020-01-01 13:21:37 +01:00
Mats Erik Andersson
3d64a8c728 Update copyright years to 2017. (silent change) 2017-02-21 14:25:23 +01:00
Mats Erik Andersson
84dcf08568 Update copyright years to 2016. (silent change) 2016-01-22 19:09:49 +01:00
Mats Erik Andersson
d3c9b1b8fa Update copyright years with 2015. (silent change) 2015-01-16 14:09:44 +01:00
Mats Erik Andersson
ae85332551 Update copyright years with 2014. (silent change) 2014-01-18 12:23:21 +01:00
Mats Erik Andersson
d1d52cce92 Update copyright years with 2013. (silent change) 2013-05-22 21:03:41 +02:00
Alfred M. Szmidt
99c71142f2 Updated copyright years; happy 2012! (silent change) 2012-01-01 19:27:00 +01:00
Alfred M. Szmidt
d9788a7d35 Updated copyright years; happy 2011! (silent change) 2011-01-02 15:23:38 +00:00
Alfred M. Szmidt
c583418f78 Updated copyright years for 2010.
Happy New Year!
2010-01-02 14:58:43 +01:00
Alfred M. Szmidt
0ae726abd8 Updated copyright notice. (silent change) 2009-11-03 18:35:51 +01:00
Sergey Poznyakoff
7d12f6259a Fix possible array overflow in ping.
* ping/ping.h (_C_BIT,_C_MASK)
(_PING_SET,_PING_CLR,_PING_TST): Remove in favor of
ping_common.h
* ping/ping6.h: Likewise.
* ping/ping_common.h (_C_BIT,_C_MASK): Moved from ping.h
(_C_IND): New macro.
(_PING_SET,_PING_CLR,_PING_TST): Modified versions of
macros from ping.h.
* ping/libping.c, ping/ping6.c: Update calls to _PING macros.
2009-08-18 19:22:13 +00:00
rakeshpandit
33d49cb9a6 2008-10-14 Rakesh Pandit <rakesh.pandit@gmail.com>
* ping/ping_impl.h, ping/ping.h, ping/ping_common.h,
        ping/ping6.h (ping_stat, PEV_RESPONSE, PEV_DUPLICATE, PEV_NOECHO,
        PING_INTERVAL, PING_CKTABSIZE, MAXWAIT, OPT_FLOOD, OPT_INTERVAL,
        OPT_NUMERIC, OPT_QUIET, OPT_RROUTE, OPT_VERBOSE, PING_TIMING,
        PING_HEADER_LEN, PING_DATALEN): Moved all these common macros and
        structures from ping_impl.h , ping6.h and ping_ping.h to ping_common.h.
        Removed PING_INTERVAL.
        * ping/ping6.c (ping_run): Used PING_SET_INTERVAL similar to
        libping.c and used PING_DEFAULT_INTERVAL in place of PING_INTERVAL.

        * ping/libping.c (ping_set_datalen): Removed.

        * ping/libping.c, ping/ping_common.c (_ping_freebuf, ping_unset_data):
        Moved _ping_freebuf, ping_unset_data from libping.c to ping_common.c.
        * ping/ping6.c (ping_run): Free memory with call to ping_unset_data.
2008-10-14 19:25:31 +00:00
rakeshpandit
20e6ca7688 2008-10-06 Rakesh Pandit <rakesh.pandit@gmail.com>
* ping/ping_common.h, ping/ping.c, ping/ping_address.c,
	ping/ping_echo.c, ping/ping_router.c, ping/ping_timestamp.c,
	ping/libping.c: Added common headers from ping related
	files (ping.c, ping_address.c, ping_echo.c, ping_router.c,
	ping_timestamp.c, libping.c) and ping6.c to ping/ping_common.h.

	* ping/ping.h, ping/ping6.h, ping/ping_common.h (ping_data,
	ping_efp): Moved ping_data, ping_efp from ping.h & ping6.h
	to ping_common.h

	* ping/libping.c, ping/ping6.c, ping/ping_common.c (_ping_setbuf,
	ping_set_data): Moved _ping_setbuf and ping_set_data from libping.c
	& ping6.c to ping_common.c

	* ping/ping_common.h (ping_address, event, ping_data): Introduced new
	unions ping_address and event in ping_common.h. Replaced ping efp
	handler(ping_efp/ping_efp6) with event union and socket
        address(sockaddr_in sockaddr_in6) with ping_address union.

	* ping/ping_common.h (_PING_BUFLEN, _ping_setbuf, ping_set_data): New arg
	use_ipv6 and all callers changed.
2008-10-14 17:40:30 +00:00
Alfred M. Szmidt
5dc26adea6 Updated to GPLv3. 2007-06-29 16:29:35 +00:00
Alfred M. Szmidt
836bde0319 Ran indent and cppi. Removed lint keywords. 2006-10-21 15:24:21 +00:00
Sergey Poznyakoff
7d9fb422ea Updated FSF postal mail address 2005-07-31 20:05:12 +00:00
Alfred M. Szmidt
6a85c51c5b 2005-06-19 Jeroen Dekkers <jeroen@dekkers.cx>
* Makefile.am: Add ping6.
	(ping_SOURCES): Add ping_common.c and ping_common.h.
	* ping6.c: New file.
	* ping6.h: Likewise.
	* ping_common.c: Likewise.
	* ping_common.h: Likewise.
	* ping.c: Include "ping_common.h". Remove __P macro in
	prototypes.
	(ping_cvt_number, init_data_buffer,
	 decode_pattern, show_license): Move to ...
	* ping_common.c: ... here.
	* ping_echo.c: Include "ping_common.h".
	(tvsub, nabs, nsqrt): Move to ...
	* ping_common.c: ... here.
2005-06-20 08:21:48 +00:00