Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/libgit2.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVicent Martí <tanoku@gmail.com>2011-09-19 07:07:59 +0400
committerVicent Martí <tanoku@gmail.com>2011-09-19 07:07:59 +0400
commit71a4c1f16ffc71bced673c5883d5ea621cc8d24f (patch)
treec8b035c6d1fc55f13f8c2213c9be226137fe077a /src/signature.c
parenta8076074702d336b5d9f0103c8420c17bf7a6b4c (diff)
parentd568d5856bcc4f283ae1dda0e27d680ee22fb067 (diff)
Merge pull request #384 from kiryl/warnings
Add more -W flags to CFLAGS
Diffstat (limited to 'src/signature.c')
-rw-r--r--src/signature.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/signature.c b/src/signature.c
index 09915f89e..7cc3733bc 100644
--- a/src/signature.c
+++ b/src/signature.c
@@ -203,7 +203,7 @@ static int parse_timezone_offset(const char *buffer, int *offset_out)
return GIT_SUCCESS;
}
-int process_next_token(const char **buffer_out, char **storage,
+static int process_next_token(const char **buffer_out, char **storage,
const char *token_end, const char *right_boundary)
{
int error = process_trimming(*buffer_out, storage, token_end, 0);
@@ -218,7 +218,7 @@ int process_next_token(const char **buffer_out, char **storage,
return GIT_SUCCESS;
}
-const char *scan_for_previous_token(const char *buffer, const char *left_boundary)
+static const char *scan_for_previous_token(const char *buffer, const char *left_boundary)
{
const char *start;
@@ -234,7 +234,7 @@ const char *scan_for_previous_token(const char *buffer, const char *left_boundar
return start;
}
-int parse_time(git_time_t *time_out, const char *buffer)
+static int parse_time(git_time_t *time_out, const char *buffer)
{
long time;
int error;