Commit c275f129 authored by Karl Heuer's avatar Karl Heuer
Browse files

[__GNU_LIBRARY__]: Use size_t for fromlen.

parent 6ce375fa
...@@ -81,10 +81,16 @@ extern int errno; ...@@ -81,10 +81,16 @@ extern int errno;
#define FD_ZERO(p) (*(p) = 0) #define FD_ZERO(p) (*(p) = 0)
#endif /* no FD_SET */ #endif /* no FD_SET */
int
main () main ()
{ {
char system_name[32]; char system_name[32];
int s, infd, fromlen; int s, infd;
#ifdef __GNU_LIBRARY__
size_t fromlen;
#else
int fromlen;
#endif
struct sockaddr_un server, fromunix; struct sockaddr_un server, fromunix;
char *homedir; char *homedir;
char *str, string[BUFSIZ], code[BUFSIZ]; char *str, string[BUFSIZ], code[BUFSIZ];
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment