mirror of
https://github.com/facebook/sapling.git
synced 2024-10-11 09:17:30 +03:00
6f5f9b9c0d
Summary: There are two `convert.h`. This patch unifies them and does cleanups so it's a valid header file which could be included by multiple .c and .cpp files and linker won't complain re-definition (by adding `static` to everything). Besides, reformat the code so it could pass check-code. Also fix a compiler warning about comparing an unsigned integer with a signed integer. Test Plan: `make clean local`. It still builds. Reviewers: durham, #mercurial, rmcelroy Reviewed By: rmcelroy Subscribers: mjpieters Differential Revision: https://phabricator.intern.facebook.com/D5113550 Signature: t1:5113550:1495565413:e399f898ac513e64af37dab5daf55cedbabfc703 |
||
---|---|---|
.. | ||
portability | ||
sha1 | ||
buffer.c | ||
buffer.h | ||
convert.h | ||
null_test.c |