Skip to content
Commit 57e73442 authored by Tobin C. Harding's avatar Tobin C. Harding
Browse files

vsprintf: refactor %pK code out of pointer()



Currently code to handle %pK is all within the switch statement in
pointer(). This is the wrong level of abstraction. Each of the other switch
clauses call a helper function, pK should do the same.

Refactor code out of pointer() to new function restricted_pointer().

Signed-off-by: default avatarTobin C. Harding <me@tobin.cc>
parent 553d8e8b
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment