[PATCH 00/28] Rename files in src/util to have a 'vir' prefix

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Currently the files in src/util are 50/50 split between those
having a 'vir' prefix and those which don't. Finish the job
by remaining all remaining files to have a 'vir' prefix too,
guaranteeing that they can't clash with system headers[1].

The only case which was not a plain rename, was merging
processinfo.{c,h} into the virprocess.{c,h} since the
functionality logically belongs together.

At the end src/Makefile.am is updated to sort util files
alphabetically.

Left as further work - make sure all functions in these
files also have a 'vir' prefix. eg dnsmasq, ebtables,
iptables, usb and pci files are violators in this regard.

Also left, much of virutil.c should move into virfile.c

Daniel

[1] Not a theoretical problem - we already hit a clsah
    on 'usb.h' before forcing us to use 'hostusb.h'
    and 'memory.h' clashes with a system header but we
    never noticed so far.

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]