projects
/
mit-scheme.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3b548af
)
Make uxsock.o state thread-local.
author
Matt Birkholz
<puck@birchwood-abbey.net>
Sun, 19 Jul 2015 20:58:50 +0000
(13:58 -0700)
committer
Matt Birkholz
<puck@birchwood-abbey.net>
Thu, 26 Nov 2015 08:09:47 +0000
(
01:09
-0700)
Make the storage class of "address" auto.
src/microcode/uxsock.c
patch
|
blob
|
history
diff --git
a/src/microcode/uxsock.c
b/src/microcode/uxsock.c
index 6c2effb1f241d2a41d9b761b584118aad103eb67..c7a64c1b18150090f17f98b47526675e5968e720 100644
(file)
--- a/
src/microcode/uxsock.c
+++ b/
src/microcode/uxsock.c
@@
-24,6
+24,7
@@
USA.
*/
+#include "scheme.h"
#include "ux.h"
#include "osio.h"
@@
-31,7
+32,6
@@
USA.
#include "uxsock.h"
#include "uxio.h"
-#include "prims.h"
static void do_connect (int, struct sockaddr *, socklen_t);
\f
@@
-296,7
+296,7
@@
OS_server_connection_accept (Tchannel channel,
void * peer_host,
unsigned int * peer_port)
{
- st
atic st
ruct sockaddr_in address;
+ struct sockaddr_in address;
socklen_t address_length = (sizeof (struct sockaddr_in));
int s;
memset((&address), 0, (sizeof (address)));