commit | 57e734423adda83f3b05505875343284efe3b39c | [log] [tgz] |
---|---|---|
author | Tobin C. Harding <me@tobin.cc> | Thu Nov 23 10:56:39 2017 +1100 |
committer | Tobin C. Harding <me@tobin.cc> | Wed Nov 29 12:03:24 2017 +1100 |
tree | 276ad0646a793ce615f57fe7ea88df2534708712 | |
parent | 553d8e8b107159088cc4e2855a2bd9a358365e3f [diff] |
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: Tobin C. Harding <me@tobin.cc>