Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
git2
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
git2
Commits
2553cbe3
Unverified
Commit
2553cbe3
authored
Feb 02, 2018
by
Edward Thomson
Committed by
GitHub
Feb 02, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #4512 from libgit2/ethomson/header_guards
Consistent header guards
parents
53454b68
abb04caa
Hide whitespace changes
Inline
Side-by-side
Showing
48 changed files
with
92 additions
and
86 deletions
+92
-86
src/cc-compat.h
+3
-3
src/common.h
+1
-1
src/config_file.h
+0
-1
src/config_parse.h
+4
-0
src/diff.h
+0
-1
src/diff_generate.h
+0
-1
src/diff_tform.h
+0
-1
src/fileops.h
+1
-1
src/fnmatch.h
+3
-4
src/hash.h
+1
-1
src/hash/hash_collisiondetect.h
+3
-3
src/hash/hash_common_crypto.h
+3
-3
src/hash/hash_generic.h
+3
-3
src/hash/hash_openssl.h
+3
-3
src/hash/hash_win32.h
+3
-3
src/integer.h
+1
-1
src/map.h
+1
-1
src/message.h
+1
-1
src/notes.h
+1
-1
src/pack-objects.h
+1
-1
src/parse.h
+5
-0
src/reflog.h
+1
-1
src/sysdir.h
+1
-1
src/thread-utils.h
+1
-1
src/transports/auth.h
+2
-3
src/transports/auth_negotiate.h
+2
-3
src/transports/cred.h
+2
-2
src/transports/smart.h
+4
-0
src/transports/ssh.h
+2
-2
src/unix/posix.h
+2
-2
src/unix/pthread.h
+1
-1
src/util.h
+1
-1
src/win32/dir.h
+3
-3
src/win32/error.h
+2
-2
src/win32/findfile.h
+2
-2
src/win32/mingw-compat.h
+3
-3
src/win32/msvc-compat.h
+3
-3
src/win32/path_w32.h
+2
-2
src/win32/posix.h
+2
-2
src/win32/reparse.h
+2
-2
src/win32/thread.h
+1
-1
src/win32/utf-conv.h
+2
-2
src/win32/w32_buffer.h
+2
-2
src/win32/w32_crtdbg_stacktrace.h
+2
-2
src/win32/w32_stack.h
+3
-3
src/win32/w32_util.h
+2
-2
src/win32/win32-compat.h
+3
-3
src/zstream.h
+1
-1
No files found.
src/cc-compat.h
View file @
2553cbe3
...
...
@@ -4,8 +4,8 @@
* This file is part of libgit2, distributed under the GNU GPL v2 with
* a Linking Exception. For full terms see the included COPYING file.
*/
#ifndef INCLUDE_compat_h__
#define INCLUDE_compat_h__
#ifndef INCLUDE_c
c_c
ompat_h__
#define INCLUDE_c
c_c
ompat_h__
#include <stdarg.h>
...
...
@@ -84,4 +84,4 @@
# endif
#endif
#endif
/* INCLUDE_compat_h__ */
#endif
src/common.h
View file @
2553cbe3
...
...
@@ -238,4 +238,4 @@ GIT_INLINE(void) git__init_structure(void *structure, size_t len, unsigned int v
#include "util.h"
#endif
/* INCLUDE_common_h__ */
#endif
src/config_file.h
View file @
2553cbe3
...
...
@@ -71,4 +71,3 @@ GIT_INLINE(int) git_config_file_unlock(git_config_backend *cfg, int success)
extern
int
git_config_file_normalize_section
(
char
*
start
,
char
*
end
);
#endif
src/config_parse.h
View file @
2553cbe3
...
...
@@ -4,6 +4,8 @@
* This file is part of libgit2, distributed under the GNU GPL v2 with
* a Linking Exception. For full terms see the included COPYING file.
*/
#ifndef INCLUDE_config_parse_h__
#define INCLUDE_config_parse_h__
#include "common.h"
#include "array.h"
...
...
@@ -58,3 +60,5 @@ int git_config_parse(
git_config_parser_comment_cb
on_comment
,
git_config_parser_eof_cb
on_eof
,
void
*
data
);
#endif
src/diff.h
View file @
2553cbe3
...
...
@@ -66,4 +66,3 @@ extern int git_diff__entry_cmp(const void *a, const void *b);
extern
int
git_diff__entry_icmp
(
const
void
*
a
,
const
void
*
b
);
#endif
src/diff_generate.h
View file @
2553cbe3
...
...
@@ -126,4 +126,3 @@ GIT_INLINE(int) git_diff_file__resolve_zero_size(
}
#endif
src/diff_tform.h
View file @
2553cbe3
...
...
@@ -23,4 +23,3 @@ extern int git_diff_find_similar__calc_similarity(
int
*
score
,
void
*
siga
,
void
*
sigb
,
void
*
payload
);
#endif
src/fileops.h
View file @
2553cbe3
...
...
@@ -387,4 +387,4 @@ extern int git_futils_fsync_dir(const char *path);
*/
extern
int
git_futils_fsync_parent
(
const
char
*
path
);
#endif
/* INCLUDE_fileops_h__ */
#endif
src/fnmatch.h
View file @
2553cbe3
...
...
@@ -25,8 +25,8 @@
* OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*/
#ifndef INCLUDE_fnmatch_
_compat_
h__
#define INCLUDE_fnmatch_
_compat_
h__
#ifndef INCLUDE_fnmatch_h__
#define INCLUDE_fnmatch_h__
#include "common.h"
...
...
@@ -45,5 +45,4 @@
extern
int
p_fnmatch
(
const
char
*
pattern
,
const
char
*
string
,
int
flags
);
#endif
/* _FNMATCH_H */
#endif
src/hash.h
View file @
2553cbe3
...
...
@@ -42,4 +42,4 @@ int git_hash_final(git_oid *out, git_hash_ctx *c);
int
git_hash_buf
(
git_oid
*
out
,
const
void
*
data
,
size_t
len
);
int
git_hash_vec
(
git_oid
*
out
,
git_buf_vec
*
vec
,
size_t
n
);
#endif
/* INCLUDE_hash_h__ */
#endif
src/hash/hash_collisiondetect.h
View file @
2553cbe3
...
...
@@ -5,8 +5,8 @@
* a Linking Exception. For full terms see the included COPYING file.
*/
#ifndef INCLUDE_hash_collisiondetect_h__
#define INCLUDE_hash_collisiondetect_h__
#ifndef INCLUDE_hash_
hash_
collisiondetect_h__
#define INCLUDE_hash_
hash_
collisiondetect_h__
#include "hash.h"
#include "sha1dc/sha1.h"
...
...
@@ -44,4 +44,4 @@ GIT_INLINE(int) git_hash_final(git_oid *out, git_hash_ctx *ctx)
return
0
;
}
#endif
/* INCLUDE_hash_collisiondetect_h__ */
#endif
src/hash/hash_common_crypto.h
View file @
2553cbe3
...
...
@@ -5,8 +5,8 @@
* a Linking Exception. For full terms see the included COPYING file.
*/
#ifndef INCLUDE_hash_common_crypto_h__
#define INCLUDE_hash_common_crypto_h__
#ifndef INCLUDE_hash_
hash_
common_crypto_h__
#define INCLUDE_hash_
hash_
common_crypto_h__
#include "hash.h"
...
...
@@ -54,4 +54,4 @@ GIT_INLINE(int) git_hash_final(git_oid *out, git_hash_ctx *ctx)
return
0
;
}
#endif
/* INCLUDE_hash_common_crypto_h__ */
#endif
src/hash/hash_generic.h
View file @
2553cbe3
...
...
@@ -5,8 +5,8 @@
* a Linking Exception. For full terms see the included COPYING file.
*/
#ifndef INCLUDE_hash_generic_h__
#define INCLUDE_hash_generic_h__
#ifndef INCLUDE_hash_
hash_
generic_h__
#define INCLUDE_hash_
hash_
generic_h__
#include "common.h"
...
...
@@ -22,4 +22,4 @@ struct git_hash_ctx {
#define git_hash_ctx_init(ctx) git_hash_init(ctx)
#define git_hash_ctx_cleanup(ctx)
#endif
/* INCLUDE_hash_generic_h__ */
#endif
src/hash/hash_openssl.h
View file @
2553cbe3
...
...
@@ -5,8 +5,8 @@
* a Linking Exception. For full terms see the included COPYING file.
*/
#ifndef INCLUDE_hash_openssl_h__
#define INCLUDE_hash_openssl_h__
#ifndef INCLUDE_hash_
hash_
openssl_h__
#define INCLUDE_hash_
hash_
openssl_h__
#include "hash.h"
...
...
@@ -56,4 +56,4 @@ GIT_INLINE(int) git_hash_final(git_oid *out, git_hash_ctx *ctx)
return
0
;
}
#endif
/* INCLUDE_hash_openssl_h__ */
#endif
src/hash/hash_win32.h
View file @
2553cbe3
...
...
@@ -5,8 +5,8 @@
* a Linking Exception. For full terms see the included COPYING file.
*/
#ifndef INCLUDE_hash_win32_h__
#define INCLUDE_hash_win32_h__
#ifndef INCLUDE_hash_
hash_
win32_h__
#define INCLUDE_hash_
hash_
win32_h__
#include "common.h"
...
...
@@ -138,4 +138,4 @@ struct git_hash_ctx {
}
ctx
;
};
#endif
/* INCLUDE_hash_openssl_h__ */
#endif
src/integer.h
View file @
2553cbe3
...
...
@@ -93,4 +93,4 @@ GIT_INLINE(bool) git__multiply_sizet_overflow(size_t *out, size_t one, size_t tw
#endif
#endif
/* INCLUDE_integer_h__ */
#endif
src/map.h
View file @
2553cbe3
...
...
@@ -43,4 +43,4 @@ typedef struct { /* memory mapped buffer */
extern
int
p_mmap
(
git_map
*
out
,
size_t
len
,
int
prot
,
int
flags
,
int
fd
,
git_off_t
offset
);
extern
int
p_munmap
(
git_map
*
map
);
#endif
/* INCLUDE_map_h__ */
#endif
src/message.h
View file @
2553cbe3
...
...
@@ -14,4 +14,4 @@
int
git_message__prettify
(
git_buf
*
message_out
,
const
char
*
message
,
int
strip_comments
);
#endif
/* INCLUDE_message_h__ */
#endif
src/notes.h
View file @
2553cbe3
...
...
@@ -29,4 +29,4 @@ struct git_note {
char
*
message
;
};
#endif
/* INCLUDE_notes_h__ */
#endif
src/pack-objects.h
View file @
2553cbe3
...
...
@@ -104,4 +104,4 @@ struct git_packbuilder {
int
git_packbuilder_write_buf
(
git_buf
*
buf
,
git_packbuilder
*
pb
);
#endif
/* INCLUDE_pack_objects_h__ */
#endif
src/parse.h
View file @
2553cbe3
...
...
@@ -4,6 +4,9 @@
* This file is part of libgit2, distributed under the GNU GPL v2 with
* a Linking Exception. For full terms see the included COPYING file.
*/
#ifndef INCLUDE_parse_h__
#define INCLUDE_parse_h__
#include "common.h"
typedef
struct
{
...
...
@@ -54,3 +57,5 @@ enum GIT_PARSE_PEEK_FLAGS {
};
int
git_parse_peek
(
char
*
out
,
git_parse_ctx
*
ctx
,
int
flags
);
#endif
src/reflog.h
View file @
2553cbe3
...
...
@@ -38,4 +38,4 @@ GIT_INLINE(size_t) reflog_inverse_index(size_t idx, size_t total)
return
(
total
-
1
)
-
idx
;
}
#endif
/* INCLUDE_reflog_h__ */
#endif
src/sysdir.h
View file @
2553cbe3
...
...
@@ -116,4 +116,4 @@ extern int git_sysdir_get_str(char *out, size_t outlen, git_sysdir_t which);
*/
extern
int
git_sysdir_set
(
git_sysdir_t
which
,
const
char
*
paths
);
#endif
/* INCLUDE_sysdir_h__ */
#endif
src/thread-utils.h
View file @
2553cbe3
...
...
@@ -243,4 +243,4 @@ extern int git_online_cpus(void);
# define GIT_MEMORY_BARRIER
/* noop */
#endif
#endif
/* INCLUDE_thread_utils_h__ */
#endif
src/transports/auth.h
View file @
2553cbe3
...
...
@@ -5,8 +5,8 @@
* a Linking Exception. For full terms see the included COPYING file.
*/
#ifndef INCLUDE_
http
_auth_h__
#define INCLUDE_
http
_auth_h__
#ifndef INCLUDE_
transports
_auth_h__
#define INCLUDE_
transports
_auth_h__
#include "common.h"
...
...
@@ -62,4 +62,3 @@ int git_http_auth_basic(
const
gitno_connection_data
*
connection_data
);
#endif
src/transports/auth_negotiate.h
View file @
2553cbe3
...
...
@@ -5,8 +5,8 @@
* a Linking Exception. For full terms see the included COPYING file.
*/
#ifndef INCLUDE_auth_negotiate_h__
#define INCLUDE_auth_negotiate_h__
#ifndef INCLUDE_
transports_
auth_negotiate_h__
#define INCLUDE_
transports_
auth_negotiate_h__
#include "common.h"
#include "git2.h"
...
...
@@ -25,4 +25,3 @@ extern int git_http_auth_negotiate(
#endif
/* GIT_GSSAPI */
#endif
src/transports/cred.h
View file @
2553cbe3
...
...
@@ -4,8 +4,8 @@
* This file is part of libgit2, distributed under the GNU GPL v2 with
* a Linking Exception. For full terms see the included COPYING file.
*/
#ifndef INCLUDE_
git
_cred_h__
#define INCLUDE_
git
_cred_h__
#ifndef INCLUDE_
transports
_cred_h__
#define INCLUDE_
transports
_cred_h__
#include "common.h"
...
...
src/transports/smart.h
View file @
2553cbe3
...
...
@@ -4,6 +4,8 @@
* This file is part of libgit2, distributed under the GNU GPL v2 with
* a Linking Exception. For full terms see the included COPYING file.
*/
#ifndef INCLUDE_transports_smart_h__
#define INCLUDE_transports_smart_h__
#include "common.h"
...
...
@@ -194,3 +196,5 @@ int git_pkt_buffer_done(git_buf *buf);
int
git_pkt_buffer_wants
(
const
git_remote_head
*
const
*
refs
,
size_t
count
,
transport_smart_caps
*
caps
,
git_buf
*
buf
);
int
git_pkt_buffer_have
(
git_oid
*
oid
,
git_buf
*
buf
);
void
git_pkt_free
(
git_pkt
*
pkt
);
#endif
src/transports/ssh.h
View file @
2553cbe3
...
...
@@ -4,8 +4,8 @@
* This file is part of libgit2, distributed under the GNU GPL v2 with
* a Linking Exception. For full terms see the included COPYING file.
*/
#ifndef INCLUDE_ssh_h__
#define INCLUDE_ssh_h__
#ifndef INCLUDE_
transports_
ssh_h__
#define INCLUDE_
transports_
ssh_h__
#include "common.h"
...
...
src/unix/posix.h
View file @
2553cbe3
...
...
@@ -4,8 +4,8 @@
* This file is part of libgit2, distributed under the GNU GPL v2 with
* a Linking Exception. For full terms see the included COPYING file.
*/
#ifndef INCLUDE_
posix__un
ix_h__
#define INCLUDE_
posix__un
ix_h__
#ifndef INCLUDE_
unix_pos
ix_h__
#define INCLUDE_
unix_pos
ix_h__
#ifndef LIBGIT2_NO_FEATURES_H
# include "git2/sys/features.h"
...
...
src/unix/pthread.h
View file @
2553cbe3
...
...
@@ -53,4 +53,4 @@ typedef struct {
#define git_rwlock_free(a) pthread_rwlock_destroy(a)
#define GIT_RWLOCK_STATIC_INIT PTHREAD_RWLOCK_INITIALIZER
#endif
/* INCLUDE_unix_pthread_h__ */
#endif
src/util.h
View file @
2553cbe3
...
...
@@ -539,4 +539,4 @@ GIT_INLINE(double) git__timer(void)
extern
int
git__getenv
(
git_buf
*
out
,
const
char
*
name
);
#endif
/* INCLUDE_util_h__ */
#endif
src/win32/dir.h
View file @
2553cbe3
...
...
@@ -4,8 +4,8 @@
* This file is part of libgit2, distributed under the GNU GPL v2 with
* a Linking Exception. For full terms see the included COPYING file.
*/
#ifndef INCLUDE_dir_h__
#define INCLUDE_dir_h__
#ifndef INCLUDE_
win32_
dir_h__
#define INCLUDE_
win32_
dir_h__
#include "common.h"
...
...
@@ -41,4 +41,4 @@ extern int git__closedir(git__DIR *);
# define closedir git__closedir
# endif
#endif
/* INCLUDE_dir_h__ */
#endif
src/win32/error.h
View file @
2553cbe3
...
...
@@ -5,8 +5,8 @@
* a Linking Exception. For full terms see the included COPYING file.
*/
#ifndef INCLUDE_
git_
win32_error_h__
#define INCLUDE_
git_
win32_error_h__
#ifndef INCLUDE_win32_error_h__
#define INCLUDE_win32_error_h__
#include "common.h"
...
...
src/win32/findfile.h
View file @
2553cbe3
...
...
@@ -5,8 +5,8 @@
* a Linking Exception. For full terms see the included COPYING file.
*/
#ifndef INCLUDE_
git
_findfile_h__
#define INCLUDE_
git
_findfile_h__
#ifndef INCLUDE_
win32
_findfile_h__
#define INCLUDE_
win32
_findfile_h__
#include "common.h"
...
...
src/win32/mingw-compat.h
View file @
2553cbe3
...
...
@@ -4,8 +4,8 @@
* This file is part of libgit2, distributed under the GNU GPL v2 with
* a Linking Exception. For full terms see the included COPYING file.
*/
#ifndef INCLUDE_
mingw_compat
__
#define INCLUDE_
mingw_compat
__
#ifndef INCLUDE_
win32_mingw_compat_h
__
#define INCLUDE_
win32_mingw_compat_h
__
#if defined(__MINGW32__)
...
...
@@ -20,4 +20,4 @@ void __mingworg_MemoryBarrier(void);
#endif
#endif
/* INCLUDE_mingw_compat__ */
#endif
src/win32/msvc-compat.h
View file @
2553cbe3
...
...
@@ -4,8 +4,8 @@
* This file is part of libgit2, distributed under the GNU GPL v2 with
* a Linking Exception. For full terms see the included COPYING file.
*/
#ifndef INCLUDE_
msvc_compat
__
#define INCLUDE_
msvc_compat
__
#ifndef INCLUDE_
win32_msvc_compat_h
__
#define INCLUDE_
win32_msvc_compat_h
__
#if defined(_MSC_VER)
...
...
@@ -19,4 +19,4 @@ typedef SSIZE_T ssize_t;
#define GIT_STDLIB_CALL __cdecl
#endif
/* INCLUDE_msvc_compat__ */
#endif
src/win32/path_w32.h
View file @
2553cbe3
...
...
@@ -4,8 +4,8 @@
* This file is part of libgit2, distributed under the GNU GPL v2 with
* a Linking Exception. For full terms see the included COPYING file.
*/
#ifndef INCLUDE_
git
_path_w32_h__
#define INCLUDE_
git
_path_w32_h__
#ifndef INCLUDE_
win32
_path_w32_h__
#define INCLUDE_
win32
_path_w32_h__
#include "common.h"
...
...
src/win32/posix.h
View file @
2553cbe3
...
...
@@ -4,8 +4,8 @@
* This file is part of libgit2, distributed under the GNU GPL v2 with
* a Linking Exception. For full terms see the included COPYING file.
*/
#ifndef INCLUDE_
posix__w32
_h__
#define INCLUDE_
posix__w32
_h__
#ifndef INCLUDE_
win32_posix
_h__
#define INCLUDE_
win32_posix
_h__
#include "common.h"
#include "../posix.h"
...
...
src/win32/reparse.h
View file @
2553cbe3
...
...
@@ -5,8 +5,8 @@
* a Linking Exception. For full terms see the included COPYING file.
*/
#ifndef INCLUDE_
git_
win32_reparse_h__
#define INCLUDE_
git_
win32_reparse_h__
#ifndef INCLUDE_win32_reparse_h__
#define INCLUDE_win32_reparse_h__
/* This structure is defined on MSDN at
* http://msdn.microsoft.com/en-us/library/windows/hardware/ff552012(v=vs.85).aspx
...
...
src/win32/thread.h
View file @
2553cbe3
...
...
@@ -61,4 +61,4 @@ int git_rwlock_wrlock(git_rwlock *);
int
git_rwlock_wrunlock
(
git_rwlock
*
);
int
git_rwlock_free
(
git_rwlock
*
);
#endif
/* INCLUDE_win32_thread_h__ */
#endif
src/win32/utf-conv.h
View file @
2553cbe3
...
...
@@ -4,8 +4,8 @@
* This file is part of libgit2, distributed under the GNU GPL v2 with
* a Linking Exception. For full terms see the included COPYING file.
*/
#ifndef INCLUDE_
git_utf
conv_h__
#define INCLUDE_
git_utf
conv_h__
#ifndef INCLUDE_
win32_utf_
conv_h__
#define INCLUDE_
win32_utf_
conv_h__
#include "common.h"
...
...
src/win32/w32_buffer.h
View file @
2553cbe3
...
...
@@ -4,8 +4,8 @@
* This file is part of libgit2, distributed under the GNU GPL v2 with
* a Linking Exception. For full terms see the included COPYING file.
*/
#ifndef INCLUDE_
git_win
32_buffer_h__
#define INCLUDE_
git_win
32_buffer_h__
#ifndef INCLUDE_
win32_w
32_buffer_h__
#define INCLUDE_
win32_w
32_buffer_h__
#include "common.h"
...
...
src/win32/w32_crtdbg_stacktrace.h
View file @
2553cbe3
...
...
@@ -4,8 +4,8 @@
* This file is part of libgit2, distributed under the GNU GPL v2 with
* a Linking Exception. For full terms see the included COPYING file.
*/
#ifndef INCLUDE_w32_crtdbg_stacktrace_h__
#define INCLUDE_w32_crtdbg_stacktrace_h__
#ifndef INCLUDE_w
in32_w
32_crtdbg_stacktrace_h__
#define INCLUDE_w
in32_w
32_crtdbg_stacktrace_h__
#include "common.h"
...
...
src/win32/w32_stack.h
View file @
2553cbe3
...
...
@@ -5,8 +5,8 @@
* a Linking Exception. For full terms see the included COPYING file.
*/
#ifndef INCLUDE_w32_stack_h__
#define INCLUDE_w32_stack_h__
#ifndef INCLUDE_w
in32_w
32_stack_h__
#define INCLUDE_w
in32_w
32_stack_h__
#include "common.h"
...
...
@@ -137,4 +137,4 @@ int git_win32__stack(
const
char
*
prefix
,
const
char
*
suffix
);
#endif
/* GIT_MSVC_CRTDBG */
#endif
/* INCLUDE_w32_stack_h__ */
#endif
src/win32/w32_util.h
View file @
2553cbe3
...
...
@@ -5,8 +5,8 @@
* a Linking Exception. For full terms see the included COPYING file.
*/
#ifndef INCLUDE_w32_util_h__
#define INCLUDE_w32_util_h__
#ifndef INCLUDE_w
in32_w
32_util_h__
#define INCLUDE_w
in32_w
32_util_h__
#include "common.h"
...
...
src/win32/win32-compat.h
View file @
2553cbe3
...
...
@@ -4,8 +4,8 @@
* This file is part of libgit2, distributed under the GNU GPL v2 with
* a Linking Exception. For full terms see the included COPYING file.
*/
#ifndef INCLUDE_win32_
compat
__
#define INCLUDE_win32_
compat
__
#ifndef INCLUDE_win32_
win32_compat_h
__
#define INCLUDE_win32_
win32_compat_h
__
#include <stdint.h>
#include <time.h>
...
...
@@ -49,4 +49,4 @@ struct p_stat {
#define stat p_stat
#endif
/* INCLUDE_win32_compat__ */
#endif
src/zstream.h
View file @
2553cbe3
...
...
@@ -44,4 +44,4 @@ void git_zstream_reset(git_zstream *zstream);
int
git_zstream_deflatebuf
(
git_buf
*
out
,
const
void
*
in
,
size_t
in_len
);
int
git_zstream_inflatebuf
(
git_buf
*
out
,
const
void
*
in
,
size_t
in_len
);
#endif
/* INCLUDE_zstream_h__ */
#endif
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment