mbox series

[kvm-unit-tests,v2,0/2] lib: Cleanups

Message ID 20220520132404.700626-1-drjones@redhat.com (mailing list archive)
Headers show
Series lib: Cleanups | expand

Message

Andrew Jones May 20, 2022, 1:24 p.m. UTC
v2
--
  - remove a trailing whitespace [Nikos]
  - add Nikos' r-b's
  - add back a check for '_' in argv.c that got dropped

1) Finally, finally, finally reformat printf.c and string.c, the last
   two files that had weird formatting.

2) Collect is* ctype functions into a new lib/ctype.h file.

Andrew Jones (2):
  lib: Fix whitespace
  lib: Add ctype.h and collect is* functions

 lib/argv.c   |   9 +-
 lib/ctype.h  |  40 +++++
 lib/printf.c | 427 +++++++++++++++++++++++++--------------------------
 lib/string.c | 356 +++++++++++++++++++++---------------------
 4 files changed, 432 insertions(+), 400 deletions(-)
 create mode 100644 lib/ctype.h

Comments

Andrew Jones May 26, 2022, 12:49 p.m. UTC | #1
On Fri, May 20, 2022 at 03:24:02PM +0200, Andrew Jones wrote:
> v2
> --
>   - remove a trailing whitespace [Nikos]
>   - add Nikos' r-b's
>   - add back a check for '_' in argv.c that got dropped
> 
> 1) Finally, finally, finally reformat printf.c and string.c, the last
>    two files that had weird formatting.
> 
> 2) Collect is* ctype functions into a new lib/ctype.h file.
> 
> Andrew Jones (2):
>   lib: Fix whitespace
>   lib: Add ctype.h and collect is* functions
> 
>  lib/argv.c   |   9 +-
>  lib/ctype.h  |  40 +++++
>  lib/printf.c | 427 +++++++++++++++++++++++++--------------------------
>  lib/string.c | 356 +++++++++++++++++++++---------------------
>  4 files changed, 432 insertions(+), 400 deletions(-)
>  create mode 100644 lib/ctype.h
> 
> -- 
> 2.34.3
>

Merged

https://gitlab.com/kvm-unit-tests/kvm-unit-tests/-/merge_requests/32

Thanks,
drew