summaryrefslogtreecommitdiff
path: root/src/fileops.h
diff options
context:
space:
mode:
authorCarlos Martín Nieto <cmn@dwim.me>2013-07-23 09:40:19 +0200
committerCarlos Martín Nieto <cmn@dwim.me>2013-07-23 09:40:19 +0200
commitc05a55b056509d1146ab55ab1351298789f00751 (patch)
tree2bf538b3a95c1cb382f659113512af3369ed9a50 /src/fileops.h
parente5bdf82976c631a5b4cc36d8bfad61de609d7802 (diff)
downloadlibgit2-c05a55b056509d1146ab55ab1351298789f00751.tar.gz
Clean up some documentation
clang's docparser highlighted these.
Diffstat (limited to 'src/fileops.h')
-rw-r--r--src/fileops.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/fileops.h b/src/fileops.h
index d23ebaffb..5adedfc57 100644
--- a/src/fileops.h
+++ b/src/fileops.h
@@ -244,7 +244,7 @@ extern mode_t git_futils_canonical_mode(mode_t raw_mode);
* @param out buffer to populate with the mapping information.
* @param fd open descriptor to configure the mapping from.
* @param begin first byte to map, this should be page aligned.
- * @param end number of bytes to map.
+ * @param len number of bytes to map.
* @return
* - 0 on success;
* - -1 on error.
@@ -278,7 +278,7 @@ extern void git_futils_mmap_free(git_map *map);
/**
* Find a "global" file (i.e. one in a user's home directory).
*
- * @param pathbuf buffer to write the full path into
+ * @param path buffer to write the full path into
* @param filename name of file to find in the home directory
* @return 0 if found, GIT_ENOTFOUND if not found, or -1 on other OS error
*/
@@ -287,7 +287,7 @@ extern int git_futils_find_global_file(git_buf *path, const char *filename);
/**
* Find an "XDG" file (i.e. one in user's XDG config path).
*
- * @param pathbuf buffer to write the full path into
+ * @param path buffer to write the full path into
* @param filename name of file to find in the home directory
* @return 0 if found, GIT_ENOTFOUND if not found, or -1 on other OS error
*/
@@ -296,7 +296,7 @@ extern int git_futils_find_xdg_file(git_buf *path, const char *filename);
/**
* Find a "system" file (i.e. one shared for all users of the system).
*
- * @param pathbuf buffer to write the full path into
+ * @param path buffer to write the full path into
* @param filename name of file to find in the home directory
* @return 0 if found, GIT_ENOTFOUND if not found, or -1 on other OS error
*/