diff options
| author | David Boyce <boyski@users.sourceforge.net> | 2011-09-12 23:39:47 -0400 |
|---|---|---|
| committer | David Boyce <boyski@users.sourceforge.net> | 2011-09-12 23:39:47 -0400 |
| commit | 0251733e01bb5403ee6c9529e6b63e8643054b39 (patch) | |
| tree | c84c97787c47af7ea17abdd30ebbe6ded8a5a4d8 /include/git2/signature.h | |
| parent | 9940a01c3f922d6026717a998300c747c4dfe784 (diff) | |
| download | libgit2-0251733e01bb5403ee6c9529e6b63e8643054b39.tar.gz | |
Changes to allow examples/*.c to compile and link. This required on
change to the signature of an API function (git_signature_new).
Also, the examples/general.c had a lot of unchecked return values
which were addresed with a couple of macros. The resulting example
still does not work correctly but at least now it fails with an
error message rather than not compiling or dumping core. Example
runtime issues may be addressed in a later commit.
Diffstat (limited to 'include/git2/signature.h')
| -rw-r--r-- | include/git2/signature.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/git2/signature.h b/include/git2/signature.h index f5d03ac77..0db09d156 100644 --- a/include/git2/signature.h +++ b/include/git2/signature.h @@ -48,7 +48,7 @@ GIT_BEGIN_DECL * @param offset timezone offset in minutes for the time * @return 0 on success; error code otherwise */ -GIT_EXTERN(int) git_signature_new(git_signature **sig_out, const char *name, const char *email, git_time_t time, int offset); +GIT_EXTERN(int) git_signature_new(const git_signature **sig_out, const char *name, const char *email, git_time_t time, int offset); /** * Create a new action signature with a timestamp of 'now'. The |
