libvirt/src/parallels
Osier Yang bc95be5dea cleanup: Remove the duplicate header
Detected by a simple Shell script:

for i in $(git ls-files -- '*.[ch]'); do
    awk 'BEGIN {
        fail=0
    }
    /# *include.*\.h/{
        match($0, /["<][^">]*[">]/)
        arr[substr($0, RSTART+1, RLENGTH-2)]++
    }
    END {
        for (key in arr) {
            if (arr[key] > 1) {
                fail=1
                printf("%d %s\n", arr[key], key)
            }
        }
        if (fail == 1)
            exit 1
    }' $i

    if test $? != 0; then
        echo "Duplicate header(s) in $i"
    fi
done;

A later patch will add the syntax-check to avoid duplicate
headers.
2013-04-17 15:49:35 +08:00
..
parallels_driver.c cleanup: Remove the duplicate header 2013-04-17 15:49:35 +08:00
parallels_driver.h maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
parallels_network.c Rename virterror.c virterror_internal.h to virerror.{c,h} 2012-12-21 11:19:50 +00:00
parallels_storage.c Remove some C99 variable decls in parallels driver 2013-02-26 17:54:52 +00:00
parallels_utils.c parallels: Need to free memory on error path 2013-02-05 16:51:07 -05:00
parallels_utils.h maint: Rename xmlconf to xmlopt and virDomainXMLConfig to virDomainXMLOption 2013-04-04 22:18:56 +02:00