From 57b72c4b8e8d5521b0a83aaa445276c2155dc64e Mon Sep 17 00:00:00 2001 From: Stefano Lattarini Date: Wed, 13 Feb 2013 19:39:38 +0100 Subject: style: call perl functions 'like_this()', not '&like_this()' We can do so now that our build rules auto-generate a list of prototypes for all functions ins our scripts. * automake.in: Adjust throughout. * HACKING: Adjust advises. Signed-off-by: Stefano Lattarini --- HACKING | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'HACKING') diff --git a/HACKING b/HACKING index 8f51ff425..a4f89bd66 100644 --- a/HACKING +++ b/HACKING @@ -96,11 +96,8 @@ default), and other portions using the GNU style (cperl-mode's default). Write new code using GNU style. -* Don't use & for function calls, unless required. +* Don't use & for function calls, unless really required. The use of & prevents prototypes from being checked. - Just as above, don't change massively all the code to strip the - &, just convert the old code as you work on it, and write new - code without. ============================================================================ = Working with git -- cgit v1.2.1