summaryrefslogtreecommitdiff
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
parent17269eff3c8b000a3a5d41298bb55e518bb888b7 (diff)
downloadtor-d23c66b04124432561771c95cebc8dd324d035c5.tar.gz
tor-d23c66b04124432561771c95cebc8dd324d035c5.zip
make the license explicit on fakepoll.[ch]
svn:r895
-rw-r--r--src/common/fakepoll.c12
-rw-r--r--src/common/fakepoll.h16
2 files changed, 11 insertions, 17 deletions
diff --git a/src/common/fakepoll.c b/src/common/fakepoll.c
index e16f2177ea..4e512195a9 100644
--- a/src/common/fakepoll.c
+++ b/src/common/fakepoll.c
@@ -1,10 +1,8 @@
-/*
- * fakepoll.c
- *
- * 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$ */
+
+/* On systems where 'poll' doesn't exist, fake it with 'select'. */
#include "orconfig.h"
#include "fakepoll.h"
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