[libvirt] [PATCH 1/4] include: common: Fix file header for apibuild.py

Peter Krempa pkrempa at redhat.com
Thu Apr 21 12:53:39 UTC 2016


Our docs/web generator would take the complete license text and put it
into the description of the file, since it depends on position of the
"Author:" line. Move the author line to the top and remove the spurious
emacs comment.
---
 include/libvirt/libvirt-common.h.in | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/include/libvirt/libvirt-common.h.in b/include/libvirt/libvirt-common.h.in
index 772e40f..95cf023 100644
--- a/include/libvirt/libvirt-common.h.in
+++ b/include/libvirt/libvirt-common.h.in
@@ -1,8 +1,9 @@
-/* -*- c -*-
+/*
  * libvirt-common.h
  * Summary: common macros and enums for the libvirt and libvirt-admin library
  * Description: Provides common macros and enums needed by both libvirt and
  *              libvirt-admin libraries
+ * Author: Erik Skultety <eskultet at redhat.com>
  *
  * Copyright (C) 2015 Red Hat, Inc.
  *
@@ -19,8 +20,6 @@
  * You should have received a copy of the GNU Lesser General Public
  * License along with this library.  If not, see
  * <http://www.gnu.org/licenses/>.
- *
- * Author: Erik Skultety <eskultet at redhat.com>
  */

 #if !defined __VIR_LIBVIRT_H_INCLUDES__ && !defined __VIR_ADMIN_H_INCLUDES__
-- 
2.8.1




More information about the libvir-list mailing list