Er saying "pointless" was a little impolite so apologies for that.



On Wed, Apr 27, 2011 at 11:32:19PM +0100, Nicholas Marriott wrote:
> __dead is in sys/cdefs.h, it is portable for OpenBSD and outside it is
> only a #define away.
> 
> Anyway diff seems a little pointless but fine, so ok nicm
> 
> 
> 
> On Wed, Apr 27, 2011 at 02:18:52PM +0500, Mark Lumsden wrote:
> > On Tue, Apr 26, 2011 at 05:59:45AM -0700, patrick keshishian wrote:
> > > On Tue, Apr 26, 2011 at 09:13:08PM +0500, Mark Lumsden wrote:
> > > > Make a "Private" function private and other things. ok?
> > > > 
> > > > -mark
> > > > 
> > > > 
> > > > Index: apply.c
> > > > ===================================================================
> > > > RCS file: /cvs/src/usr.bin/apply/apply.c,v
> > > > retrieving revision 1.24
> > > > diff -u -p -r1.24 apply.c
> > > > --- apply.c     27 Oct 2009 23:59:35 -0000      1.24
> > > > +++ apply.c     26 Apr 2011 09:40:48 -0000
> > > > @@ -44,8 +44,8 @@
> > > >  #include <string.h>
> > > >  #include <unistd.h>
> > > >  
> > > > -void   usage(void);
> > > > -int    mysystem(const char *);
> > > > +static void    usage(void);
> > > 
> > > +__dead void      usage(void);
> > > 
> > 
> > is __dead portable across all compilers/archs?
> > 
> > -mark
> > PS I see it sprinkled through the src tree though.

Reply via email to