]> granicus.if.org Git - strace/commit
Move string_to_uint* functions to a separate file
authorEdgar Kaziakhmedov <edgar.kaziakhmedov@virtuozzo.com>
Tue, 22 Aug 2017 12:35:02 +0000 (15:35 +0300)
committerDmitry V. Levin <ldv@altlinux.org>
Tue, 22 Aug 2017 15:24:05 +0000 (15:24 +0000)
commitb1fab45b479568d1bd26561f1f18e98e91b2a46d
tree4fb72b92f185a4b02262083459e78894189d7aa0
parentbc9fd5ffb9633a15b2753b2c812ce78b222cec7a
Move string_to_uint* functions to a separate file

Make string_to_uint* functions available to other binaries
included in the strace package.

* string_to_uint.h: New file.
* defs.h: Include it.
(string_to_uint_ex, string_to_uint_upto, string_to_uint): Move
to string_to_uint.h.
* util.c (string_to_uint_ex, string_to_uint): Move ...
* string_to_uint.c: ... to the new file.
* Makefile.am (strace_SOURCES): Add string_to_uint.h and string_to_uint.c.

Signed-off-by: Edgar Kaziakhmedov <edgar.kaziakhmedov@virtuozzo.com>
Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
Makefile.am
defs.h
string_to_uint.c [new file with mode: 0644]
string_to_uint.h [new file with mode: 0644]
util.c