qapi: Rename identical c_fun()/c_var() into c_name()
authorEric Blake <eblake@redhat.com>
Thu, 14 May 2015 12:50:48 +0000 (06:50 -0600)
committerMarkus Armbruster <armbru@redhat.com>
Thu, 14 May 2015 16:20:42 +0000 (18:20 +0200)
commit18df515ebbefa9f13474b128b8050d5fa346ea1e
tree98ab9f86e6ffadc62bf753da6090078f64184c4f
parent47299262de424af0cb69965d082e5e70b2314183
qapi: Rename identical c_fun()/c_var() into c_name()

Now that the two functions are identical, we only need one of them,
and we might as well give it a more descriptive name.  Basically,
the function serves as the translation from a QAPI name into a
(portion of a) C identifier, without regards to whether it is a
variable or function name.

Signed-off-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
scripts/qapi-commands.py
scripts/qapi-event.py
scripts/qapi-types.py
scripts/qapi-visit.py
scripts/qapi.py