mirror of
https://github.com/git/git.git
synced 2024-11-23 09:56:28 +08:00
base85.h: move declarations for base85.c functions from cache.h
Signed-off-by: Elijah Newren <newren@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
parent
d5fff46f40
commit
9b5041f647
1
apply.c
1
apply.c
@ -10,6 +10,7 @@
|
||||
#include "cache.h"
|
||||
#include "abspath.h"
|
||||
#include "alloc.h"
|
||||
#include "base85.h"
|
||||
#include "config.h"
|
||||
#include "object-store.h"
|
||||
#include "blob.h"
|
||||
|
3
base85.c
3
base85.c
@ -1,4 +1,5 @@
|
||||
#include "cache.h"
|
||||
#include "git-compat-util.h"
|
||||
#include "base85.h"
|
||||
|
||||
#undef DEBUG_85
|
||||
|
||||
|
7
base85.h
Normal file
7
base85.h
Normal file
@ -0,0 +1,7 @@
|
||||
#ifndef BASE85_H
|
||||
#define BASE85_H
|
||||
|
||||
int decode_85(char *dst, const char *line, int linelen);
|
||||
void encode_85(char *buf, const unsigned char *data, int bytes);
|
||||
|
||||
#endif /* BASE85_H */
|
4
cache.h
4
cache.h
@ -593,10 +593,6 @@ int df_name_compare(const char *name1, size_t len1, int mode1,
|
||||
int name_compare(const char *name1, size_t len1, const char *name2, size_t len2);
|
||||
int cache_name_stage_compare(const char *name1, int len1, int stage1, const char *name2, int len2, int stage2);
|
||||
|
||||
/* base85 */
|
||||
int decode_85(char *dst, const char *line, int linelen);
|
||||
void encode_85(char *buf, const unsigned char *data, int bytes);
|
||||
|
||||
/* pkt-line.c */
|
||||
void packet_trace_identity(const char *prog);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user