Revision 205902ecc7bcb2a007ed27bb3518e8f70e5d113e authored by Alexey Dobriyan on 23 May 2005, 20:09:19 UTC, committed by David S. Miller on 23 May 2005, 20:09:19 UTC
Everybody does

	struct packet_type foo_packet_type = {
		.type = __constant_htons(ETH_P_FOO);
	};

5 introduced warnings will be properly fixed later.

Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent d865925
Raw File
poll.h
#ifndef __H8300_POLL_H
#define __H8300_POLL_H

#define POLLIN		  1
#define POLLPRI		  2
#define POLLOUT		  4
#define POLLERR		  8
#define POLLHUP		 16
#define POLLNVAL	 32
#define POLLRDNORM	 64
#define POLLWRNORM	POLLOUT
#define POLLRDBAND	128
#define POLLWRBAND	256
#define POLLMSG		0x0400

struct pollfd {
	int fd;
	short events;
	short revents;
};

#endif
back to top