mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-03 14:10:47 -08:00
[__GNU_LIBRARY__]: Use size_t for fromlen.
This commit is contained in:
parent
6ce375fa38
commit
c275f129ae
1 changed files with 7 additions and 1 deletions
|
|
@ -81,10 +81,16 @@ extern int errno;
|
|||
#define FD_ZERO(p) (*(p) = 0)
|
||||
#endif /* no FD_SET */
|
||||
|
||||
int
|
||||
main ()
|
||||
{
|
||||
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;
|
||||
char *homedir;
|
||||
char *str, string[BUFSIZ], code[BUFSIZ];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue