diff options
author | Dave Reisner <dreisner@archlinux.org> | 2012-05-28 17:32:11 -0400 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2012-06-25 23:04:31 -0500 |
commit | f556fe8b4a199116b5665bb5f0886e4c2962b077 (patch) | |
tree | da359a1cea95066f32962219e4909adf325c0df4 /lib/libalpm/dload.h | |
parent | 74274b5dc347ba70e4abd1f329feb41538f82ff4 (diff) | |
download | pacman-f556fe8b4a199116b5665bb5f0886e4c2962b077.tar.xz |
add line length parameter to _alpm_strip_newline
If known, callers can pass the line size to this function in order to
avoid an strlen call. Otherwise, they simply pass 0 and
_alpm_strip_newline will do the call instead.
Signed-off-by: Dave Reisner <dreisner@archlinux.org>
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/dload.h')
0 files changed, 0 insertions, 0 deletions