[Git][NTPsec/ntpsec][master] Remove dead TODO - no socket-using C other than ntpd is left.

Eric S. Raymond gitlab at mg.gitlab.com
Sat Jan 21 12:34:50 UTC 2017


Eric S. Raymond pushed to branch master at NTPsec / ntpsec


Commits:
fb35a532 by Eric S. Raymond at 2017-01-21T07:34:38-05:00
Remove dead TODO - no socket-using C other than ntpd is left.

- - - - -


1 changed file:

- libntp/socket.c


Changes:

=====================================
libntp/socket.c
=====================================
--- a/libntp/socket.c
+++ b/libntp/socket.c
@@ -132,37 +132,3 @@ make_socket_nonblocking(
 	}
 }
 
-#if 0
-
-/* The following subroutines should probably be moved here */
-
-static SOCKET
-open_socket(
-	sockaddr_u *	addr,
-	int		bcast,
-	int		turn_off_reuse,
-	endpt *		interf
-	)
-void
-sendpkt(
-	sockaddr_u *		dest,
-	endpt *			ep,
-	int			ttl,
-	struct pkt *		pkt,
-	int			len
-	)
-
-static inline int
-read_refclock_packet(SOCKET fd, struct refclockio *rp, l_fp ts)
-
-static inline int
-read_network_packet(
-	SOCKET			fd,
-	endpt *			itf,
-	l_fp			ts
-	)
-
-void
-kill_asyncio(int startfd)
-
-#endif /* 0 */



View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/fb35a5324c1677e9bf2b5fd7eeef40108e0e6a8b
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ntpsec.org/pipermail/vc/attachments/20170121/acb896df/attachment.html>


More information about the vc mailing list