Subject: Re: new feature for src/usr.bin/make: read-only variables
To: None <tech-userlevel@NetBSD.org, tech-pkg@NetBSD.org>
From: Roland Illig <rillig@NetBSD.org>
List: tech-userlevel
Date: 09/02/2005 20:19:19
Rui Paulo wrote:
> On 2005.09.02 11:37:25 +0000, Roland Illig wrote:
> | Index: nonints.h
> | ===================================================================
> | RCS file: /cvsroot/src/usr.bin/make/nonints.h,v
> | retrieving revision 1.34
> | diff -u -p -r1.34 nonints.h
> | --- nonints.h 8 May 2005 00:38:47 -0000 1.34
> | +++ nonints.h 2 Sep 2005 09:35:36 -0000
> | @@ -152,6 +152,8 @@ void Suff_AddSuffix(char *, GNode **);
> | Lst Suff_GetPath(char *);
> | void Suff_DoPaths(void);
> | void Suff_AddInclude(char *);
> | +void Var_Make_Readonly __P((char *, GNode *));
> | +void Var_Set_Readonly_Mode __P((int));
>
> Why use __P() ?
Oops. That's legacy code from my first patch, which I had written for
pkgsrc/bootstrap/bmake. ;)
Roland