Commit 6279abda7370ebb046571437012dc6bb96e1edba

nulltoken 2011-03-17T06:56:58

Make gitfo_prettify_dir_path() and gitfo_prettify_file_path() no longer externalized

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
diff --git a/src/fileops.h b/src/fileops.h
index bd59011..c2c038b 100644
--- a/src/fileops.h
+++ b/src/fileops.h
@@ -168,7 +168,7 @@ extern int gitfo_getcwd(char *buffer_out, size_t size);
  * - GIT_SUCCESS on success;
  * - GIT_ERROR when the input path is invalid or escapes the current directory.
  */
-GIT_EXTERN(int) gitfo_prettify_dir_path(char *buffer_out, const char *path);
+int gitfo_prettify_dir_path(char *buffer_out, const char *path);
 
 /**
  * Clean up a provided absolute or relative file path.
@@ -190,6 +190,6 @@ GIT_EXTERN(int) gitfo_prettify_dir_path(char *buffer_out, const char *path);
  * - GIT_SUCCESS on success;
  * - GIT_ERROR when the input path is invalid or escapes the current directory.
  */
-GIT_EXTERN(int) gitfo_prettify_file_path(char *buffer_out, const char *path);
+int gitfo_prettify_file_path(char *buffer_out, const char *path);
 
 #endif /* INCLUDE_fileops_h__ */