Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 279306
Collapse All | Expand All

(-)lib/getopt.c.dist (+3 lines)
Lines 174-179 static char *posixly_correct; Link Here
174
#include <string.h>
174
#include <string.h>
175
#define	my_index	strchr
175
#define	my_index	strchr
176
#else
176
#else
177
#ifdef __sgi
178
#include <string.h>
179
#endif
177
180
178
/* Avoid depending on library functions or files
181
/* Avoid depending on library functions or files
179
   whose names are inconsistent.  */
182
   whose names are inconsistent.  */
(-)src/zm.c.dist (-2 / +2 lines)
Lines 251-257 again2: Link Here
251
 * Send character c with ZMODEM escape sequence encoding.
251
 * Send character c with ZMODEM escape sequence encoding.
252
 *  Escape XON, XOFF. Escape CR following @ (Telenet net escape)
252
 *  Escape XON, XOFF. Escape CR following @ (Telenet net escape)
253
 */
253
 */
254
inline void 
254
void 
255
zsendline(int c)
255
zsendline(int c)
256
{
256
{
257
257
Lines 277-283 zsendline(int c) Link Here
277
	}
277
	}
278
}
278
}
279
279
280
static inline void 
280
static void 
281
zsendline_s(const char *s, size_t count) 
281
zsendline_s(const char *s, size_t count) 
282
{
282
{
283
	const char *end=s+count;
283
	const char *end=s+count;
(-)src/tcp.c.dist (-2 / +2 lines)
Lines 56-62 tcp_server (char *buf) Link Here
56
	struct sockaddr_in s;
56
	struct sockaddr_in s;
57
	struct sockaddr_in t;
57
	struct sockaddr_in t;
58
	int on=1;
58
	int on=1;
59
	size_t len;
59
	socklen_t len;
60
60
61
	if ((sock = socket (AF_INET, SOCK_STREAM, IPPROTO_TCP)) < 0) {
61
	if ((sock = socket (AF_INET, SOCK_STREAM, IPPROTO_TCP)) < 0) {
62
		error(1,errno,"socket");
62
		error(1,errno,"socket");
Lines 91-97 tcp_accept (int d) Link Here
91
{
91
{
92
	int so;
92
	int so;
93
	struct  sockaddr_in s;
93
	struct  sockaddr_in s;
94
	size_t namelen;
94
	socklen_t namelen;
95
	int num=0;
95
	int num=0;
96
96
97
	namelen = sizeof(s);
97
	namelen = sizeof(s);

Return to bug 279306