summaryrefslogtreecommitdiff
path: root/include/git2/diff.h
diff options
context:
space:
mode:
authorCarlos Martín Nieto <cmn@dwim.me>2014-10-17 22:22:59 +0200
committerCarlos Martín Nieto <cmn@dwim.me>2014-10-18 15:22:19 +0200
commit12e1803188407e6ee18b9bd22186dd5d02c8ba78 (patch)
tree496b54f10f56faa0588bcdebfd6d579f343b90c0 /include/git2/diff.h
parentc51aa74ed38c2b8b86d5dbd2c8e58e45975db38a (diff)
downloadlibgit2-12e1803188407e6ee18b9bd22186dd5d02c8ba78.tar.gz
Update some documentation
Diffstat (limited to 'include/git2/diff.h')
-rw-r--r--include/git2/diff.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/git2/diff.h b/include/git2/diff.h
index ca49a9cd9..1013b5c33 100644
--- a/include/git2/diff.h
+++ b/include/git2/diff.h
@@ -421,7 +421,7 @@ typedef int (*git_diff_file_cb)(
/**
* Structure describing a hunk of a diff.
*/
-typedef struct git_diff_hunk {
+typedef struct {
int old_start; /**< Starting line number in old_file */
int old_lines; /**< Number of lines in old_file */
int new_start; /**< Starting line number in new_file */
@@ -468,7 +468,7 @@ typedef enum {
/**
* Structure describing a line (or data span) of a diff.
*/
-typedef struct git_diff_line {
+typedef struct {
char origin; /**< A git_diff_line_t value */
int old_lineno; /**< Line number in old file or -1 for added line */
int new_lineno; /**< Line number in new file or -1 for deleted line */