Commit 697f44709c2931bab95cbbd208e73eb6fedcad5b

Stefan Sperling 2017-11-30T00:54:40

add todo comment about diffreg() arguments

1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/lib/diffreg.c b/lib/diffreg.c
index 544c14d..b8591d4 100644
--- a/lib/diffreg.c
+++ b/lib/diffreg.c
@@ -270,6 +270,7 @@ u_char cup2low[256] = {
 	0xfd, 0xfe, 0xff
 };
 
+/* XXX should expect 'FILE *' instead of 'char *' */
 const struct got_error *
 got_diffreg(int *rval, char *file1, char *file2, int flags,
     struct got_diff_args *args, struct got_diff_state *ds)