Browse Source

make the license explicit on fakepoll.[ch]

svn:r895
Roger Dingledine 21 years ago
parent
commit
d23c66b041
2 changed files with 11 additions and 17 deletions
  1. 5 7
      src/common/fakepoll.c
  2. 6 10
      src/common/fakepoll.h

+ 5 - 7
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"

+ 6 - 10
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