Hi! > +#ifndef __GETRANDOM_H__ > +#define __GETRANDOM_H__ > + > +/* > + * Flags for getrandom(2) > + * > + * GRND_NONBLOCK Don't block and return EAGAIN instead > + * GRND_RANDOM Use the /dev/random pool instead of /dev/urandom > + */ > + > +#ifndef GRND_NONBLOCK > + #define GRND_NONBLOCK 0x0001 > +#endif > + > +#ifndef GRND_RANDOM > + #define GRND_RANDOM 0x0002 > +#endif
It's usuall to intend the identifier after the # such as: #ifdef # define #endif Since there are some compilers that can't cope with spaces before # (at least that is what I've been told). -- The rest looks fine, acked. Thanks for doing this. -- Cyril Hrubis chru...@suse.cz ------------------------------------------------------------------------------ Monitor 25 network devices or servers for free with OpManager! OpManager is web-based network management software that monitors network devices and physical & virtual servers, alerts via email & sms for fault. Monitor 25 devices for free with no restriction. Download now http://ad.doubleclick.net/ddm/clk/292181274;119417398;o _______________________________________________ Ltp-list mailing list Ltp-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ltp-list