libgit2/src/commit.h
Andreas Ericsson 4f0adcd0e6 Get rid of GIT__PRIVATE macro
Using it in the first place means something's wrong.
This patch replaces it with an internal header which
carries the previously "protected" code instead.

Internal source-files simply include "commit.h" and
they're done. The internal header includes the public
one to make sure we always use the proper prototype.

Signed-off-by: Andreas Ericsson <ae@op5.se>
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
2008-11-22 12:08:00 -08:00

15 lines
203 B
C

#ifndef INCLUDE_commit_h__
#define INCLUDE_commit_h__
#include "git/commit.h"
#include <time.h>
struct git_commit {
git_oid id;
time_t commit_time;
unsigned parsed:1,
flags:26;
};
#endif