[4.0] a0a757c Skip the argument names when writing the prototypes

Lasse Karstensen lkarsten at varnish-software.com
Thu Jan 15 16:35:40 CET 2015


commit a0a757c0b23760dec0f5d5e0b427cc8d76364efe
Author: Federico G. Schwindt <fgsch at lodoss.net>
Date:   Fri Oct 10 00:13:26 2014 +0100

    Skip the argument names when writing the prototypes

diff --git a/lib/libvcc/vmodtool.py b/lib/libvcc/vmodtool.py
index 2861b40..f437c22 100755
--- a/lib/libvcc/vmodtool.py
+++ b/lib/libvcc/vmodtool.py
@@ -366,8 +366,6 @@ class Func(object):
 		for a in self.al:
 			s += p + ctypes[a.typ]
 			p = ", "
-			if a.nam != None:
-				s += " " + a.nam
 		s += ");"
 		return s
 



More information about the varnish-commit mailing list