commit | 34391d42c8e080ccb42a1f8e4145be035fd06e61 | [log] [download] |
---|---|---|
author | Kir Kolyshkin <kir@openvz.org> | Tue Jun 01 08:47:53 2010 +0400 |
committer | Kir Kolyshkin <kir@openvz.org> | Tue Jun 01 10:35:31 2010 +0400 |
tree | 2e0ea1d14a581c56db949c47bb494ed0ac9a5cff | |
parent | be3419cd23c711460b8379857a1f76e9a460b6b3 [diff] |
vzlist: put similar print_ functions in a macro Functions print_name(), print_hostname() and print_description() are all monozygotic twins. Create a macro to generate those. While at it, move these functions plus print_ip up in the source file so we no longer need prototypes. Signed-off-by: Kir Kolyshkin <kir@openvz.org>