diff options
author | Dave Reisner <dreisner@archlinux.org> | 2012-05-28 23:32:11 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2012-06-26 06:04:31 +0200 |
commit | f556fe8b4a199116b5665bb5f0886e4c2962b077 (patch) | |
tree | da359a1cea95066f32962219e4909adf325c0df4 /lib/libalpm/conflict.h | |
parent | 74274b5dc347ba70e4abd1f329feb41538f82ff4 (diff) | |
download | pacman-f556fe8b4a199116b5665bb5f0886e4c2962b077.tar.gz 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/conflict.h')
0 files changed, 0 insertions, 0 deletions