mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-27 22:03:31 +01:00
make the license explicit on fakepoll.[ch]
svn:r895
This commit is contained in:
parent
17269eff3c
commit
d23c66b041
@ -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"
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user