Re: [PATCH 03/32] Convert 'int i' to 'size_t i' in src/util/ files

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

 



On 07/08/2013 04:21 PM, Daniel P. Berrange wrote:
> From: "Daniel P. Berrange" <berrange@xxxxxxxxxx>
> 
> Convert the type of loop iterators named 'i', 'j', k',
> 'ii', 'jj', 'kk', to be 'size_t' instead of 'int' or
> 'unsigned int', also santizing 'ii', 'jj', 'kk' to use
> the normal 'i', 'j', 'k' naming
> 
> Signed-off-by: Daniel P. Berrange <berrange@xxxxxxxxxx>
> ---
>  src/util/virbitmap.c             | 13 +++++++------
>  src/util/vircgroup.c             | 32 ++++++++++++++++----------------
>  src/util/vircommand.c            | 10 +++++-----
>  src/util/virdnsmasq.c            | 16 ++++++++--------
>  src/util/virebtables.c           |  8 ++++----
>  src/util/vireventpoll.c          | 28 ++++++++++++++--------------
>  src/util/virhook.c               |  3 ++-
>  src/util/virjson.c               | 12 ++++++------
>  src/util/virkeycode.c            |  4 ++--
>  src/util/virlog.c                | 30 +++++++++++++++---------------
>  src/util/virlog.h                |  2 +-
>  src/util/virmacaddr.c            |  2 +-
>  src/util/virnetdevmacvlan.c      |  2 +-
>  src/util/virnetdevopenvswitch.c  |  2 +-
>  src/util/virnetdevtap.c          |  4 ++--
>  src/util/virnetdevvportprofile.c |  2 +-
>  src/util/virnetlink.c            | 14 ++++++++------
>  src/util/virnuma.c               | 13 +++++++------
>  src/util/virpci.c                | 14 +++++++-------
>  src/util/virportallocator.c      |  8 ++++----
>  src/util/virprocess.c            |  7 ++++---
>  src/util/virscsi.c               |  6 +++---
>  src/util/virsocketaddr.c         | 28 ++++++++++++++--------------
>  src/util/virstoragefile.c        |  7 ++++---
>  src/util/virstring.c             |  3 ++-
>  src/util/virsysinfo.c            |  6 +++---
>  src/util/virthreadwin32.c        |  6 +++---
>  src/util/virthreadwin32.h        |  2 +-
>  src/util/virtypedparam.c         | 10 +++++-----
>  src/util/viruri.c                |  2 +-
>  src/util/virusb.c                |  6 +++---
>  src/util/virutil.c               | 29 ++++++++++++++++-------------
>  src/util/viruuid.c               |  7 ++++---
>  33 files changed, 175 insertions(+), 163 deletions(-)
> 

ACK

Jan

--
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]