aboutsummaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
Diffstat (limited to 'src/common')
-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 e16f2177e..4e512195a 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 353e11ee4..b38e4ef05 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