summaryrefslogtreecommitdiff
path: root/src/common/fakepoll.h
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2003-12-09 21:37:26 +0000
committerRoger Dingledine <arma@torproject.org>2003-12-09 21:37:26 +0000
commitd23c66b04124432561771c95cebc8dd324d035c5 (patch)
treec5a5531768db6483e59a12691b626920cc74410a /src/common/fakepoll.h
parent17269eff3c8b000a3a5d41298bb55e518bb888b7 (diff)
downloadtor-d23c66b04124432561771c95cebc8dd324d035c5.tar.gz
tor-d23c66b04124432561771c95cebc8dd324d035c5.zip
make the license explicit on fakepoll.[ch]
svn:r895
Diffstat (limited to 'src/common/fakepoll.h')
-rw-r--r--src/common/fakepoll.h16
1 files changed, 6 insertions, 10 deletions
diff --git a/src/common/fakepoll.h b/src/common/fakepoll.h
index 353e11ee4e..b38e4ef057 100644
--- a/src/common/fakepoll.h
+++ b/src/common/fakepoll.h
@@ -1,10 +1,6 @@
-/*
- * fakepoll.h
- *
- * On systems where 'poll' doesn't exist, fake it with 'select'.
- *
- * Nick Mathewson <nickm@freehaven.net>
- */
+/* Copyright 2002,2003 Nick Mathewson, Roger Dingledine, Naval Research Lab. */
+/* See LICENSE for licensing information */
+/* $Id$ */
#ifndef __FAKEPOLL_H
#define __FAKEPOLL_H
@@ -16,9 +12,9 @@
#define USE_FAKE_POLL
struct pollfd {
- int fd;
- short events;
- short revents;
+ int fd;
+ short events;
+ short revents;
};
#define POLLIN 0x0001