3 years ago 8cba9b5e69 Stefan Sperling
check return value of diff_output_lines
3 years ago 2c20a3ed9d Stefan Sperling
optionally provide information about the generated diff to the API user
3 years ago 85ab455967 Stefan Sperling
move some definitions from the public diff_main.h to an internal header file
3 years ago e10a628aa1 Stefan Sperling
avoid include statements in header files; make each .c pull in what's needed
4 years ago 3e6cba3a54 Stefan Sperling
replace enum diff_rc errors with plain errno values
4 years ago 0d27172a82 Neels Hofmeyr
KNF: use max 80 columns
4 years ago 61a7b57805 Neels Hofmeyr
KNF: function declaration return types on separate line
4 years ago f8cbb8fea0 Neels Hofmeyr
remove code dup of diff_main() invocation for plain vs unidiff
4 years ago a5cbcf9c3c Neels Hofmeyr
Only print (unified) header in unified format.
4 years ago 3b0f3d6191 Neels Hofmeyr
initial commit