Re: [PATCH 7/8] util: Reorder functions in virresctrl to minimize stubs

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

 



On Wed, Jan 31, 2018 at 10:41:45AM +0100, Martin Kletzander wrote:
If we reorder the functions properly, we only need to have few stub functions
for non-Linux platforms and it is also nicer to look at and read if they are in
one place with only one preprocessor condition.  The order after this patch is:

- Class allocation and Static functions (used by everything, static dependencies)

- Linux-only functions

- Non-Linux stubs

- Exported functions (as they rely on all previous functions)


One of the functions (latest addition) needs to be moved due to non-Linux, I'll
move it, don't look at this patch, I'll send a v2, check the rest in the meatime
;)

Attachment: signature.asc
Description: Digital signature

--
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]
  Powered by Linux