]> granicus.if.org Git - strace/commit
Reorder functions in syscall.c. No code changes.
authorDenys Vlasenko <dvlasenk@redhat.com>
Wed, 24 Aug 2011 16:07:22 +0000 (18:07 +0200)
committerDenys Vlasenko <dvlasenk@redhat.com>
Wed, 24 Aug 2011 16:07:22 +0000 (18:07 +0200)
commita614692fb082294ae3d3c7f6c1ed26b355d6c4bf
tree05aed693d3a75ea47de12248041cd3ecec8c8cdf
parent06602d99b72564e77600fc7c94e9ce8b78ec7085
Reorder functions in syscall.c. No code changes.

Old order (basically "in no particular order"):
    dumpio
    decode_subcall
    internal_syscall
    get_scno
    get_syscall_result
    known_scno
    syscall_fixup
    is_negated_errno
    get_error
    syscall_enter
    trace_syscall_entering
    trace_syscall_exiting
    trace_syscall
    printargs
    getrval2
    sys_indir
    is_restart_error

New order:
various utility functions:
    decode_subcall
    printargs
    getrval2
    sys_indir
    is_restart_error
syscall enter handling functions:
    get_scno
    known_scno
    syscall_fixup (also used in syscall exit code)
    internal_syscall (also used in syscall exit code)
    syscall_enter
    trace_syscall_entering
syscall exit handling functions:
    get_syscall_result
    is_negated_errno
    get_error
    dumpio
    trace_syscall_exiting
main syscall enter/exit function:
    trace_syscall

* syscall.c: Reorder functions so that related ones are closer
in the source.

Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
syscall.c