make the license explicit on fakepoll.[ch]

svn:r895
This commit is contained in:
Roger Dingledine 2003-12-09 21:37:26 +00:00
parent 17269eff3c
commit d23c66b041
2 changed files with 11 additions and 17 deletions

View File

@ -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"

View File

@ -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