cvs commit: src/sys/sys cdefs.h src/include nl_types.h stdio.h

Stefan Farfeleder stefan at fafoe.narf.at
Wed Feb 1 04:26:59 PST 2006


On Tue, Jan 31, 2006 at 01:57:34PM -0700, M. Warner Losh wrote:

> Index: nl_types.h
> ===================================================================
> RCS file: /u/home/ncvs/src/include/nl_types.h,v
> retrieving revision 1.12
> diff -u -r1.12 nl_types.h
> --- nl_types.h  26 Jan 2006 20:53:40 -0000      1.12
> +++ nl_types.h  31 Jan 2006 20:06:37 -0000
> @@ -97,6 +97,9 @@
>  
>  __BEGIN_DECLS
>  nl_catd  catopen(const char *, int);
> +#ifndef __format_arg
> +#define __format_arg(a) __attribute__((__format_arg__(a)))
> +#endif
>  char    *catgets(nl_catd, int, int, const char *) __format_arg(4);
>  int     catclose(nl_catd);
>  __END_DECLS

Thanks, I've committed that.  Sorry for the breakage.


More information about the cvs-src mailing list