diff options
Diffstat (limited to 'src/pkg/runtime/netpoll_nacl.c')
-rw-r--r-- | src/pkg/runtime/netpoll_nacl.c | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/src/pkg/runtime/netpoll_nacl.c b/src/pkg/runtime/netpoll_nacl.c deleted file mode 100644 index b75753a23..000000000 --- a/src/pkg/runtime/netpoll_nacl.c +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2013 The Go Authors. All rights reserved. -// Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. - -#include "runtime.h" -#include "defs_GOOS_GOARCH.h" -#include "os_GOOS.h" - -// Fake network poller for NaCl. -// Should never be used, because NaCl network connections do not honor "SetNonblock". - -void -runtime·netpollinit(void) -{ -} - -int32 -runtime·netpollopen(uintptr fd, PollDesc *pd) -{ - USED(fd); - USED(pd); - return 0; -} - -int32 -runtime·netpollclose(uintptr fd) -{ - USED(fd); - return 0; -} - -G* -runtime·netpoll(bool block) -{ - USED(block); - return nil; -} |