[master] 5d61fb2 Skip the argument names when writing the prototypes

Federico G. Schwindt fgsch at lodoss.net
Fri Oct 10 02:11:57 CEST 2014


commit 5d61fb2b28c270bf3184273443d7537f4e4ed2a3
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 14d9c95..99caca4 100755
--- a/lib/libvcc/vmodtool.py
+++ b/lib/libvcc/vmodtool.py
@@ -368,8 +368,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