Skip to content

Commit 13c3bc9

Browse files
committed
strmap: remove GIT__USE_STRMAP macro
1 parent a13cfd2 commit 13c3bc9

File tree

16 files changed

+1
-31
lines changed

16 files changed

+1
-31
lines changed

src/attr.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@
77
#include "git2/oid.h"
88
#include <ctype.h>
99

10-
GIT__USE_STRMAP
11-
1210
const char *git_attr__true = "[internal]__TRUE__";
1311
const char *git_attr__false = "[internal]__FALSE__";
1412
const char *git_attr__unset = "[internal]__UNSET__";

src/attrcache.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@
55
#include "sysdir.h"
66
#include "ignore.h"
77

8-
GIT__USE_STRMAP
9-
108
GIT_INLINE(int) attr_cache_lock(git_attr_cache *cache)
119
{
1210
GIT_UNUSED(cache); /* avoid warning if threading is off */

src/checkout.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,6 @@
3535
#include "pool.h"
3636
#include "strmap.h"
3737

38-
GIT__USE_STRMAP
39-
4038
/* See docs/checkout-internals.md for more information */
4139

4240
enum {

src/config_file.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,6 @@
2121
#include <sys/types.h>
2222
#include <regex.h>
2323

24-
GIT__USE_STRMAP
25-
2624
typedef struct cvar_t {
2725
struct cvar_t *next;
2826
git_config_entry *entry;

src/diff_driver.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@
1616
#include "config.h"
1717
#include "repository.h"
1818

19-
GIT__USE_STRMAP
20-
2119
typedef enum {
2220
DIFF_DRIVER_AUTO = 0,
2321
DIFF_DRIVER_BINARY = 1,

src/fileops.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@
1313
#include "win32/findfile.h"
1414
#endif
1515

16-
GIT__USE_STRMAP
17-
1816
int git_futils_mkpath2file(const char *file_path, const mode_t mode)
1917
{
2018
return git_futils_mkdir(

src/mwindow.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@
1414
#include "strmap.h"
1515
#include "pack.h"
1616

17-
GIT__USE_STRMAP
18-
1917
#define DEFAULT_WINDOW_SIZE \
2018
(sizeof(void*) >= 8 \
2119
? 1 * 1024 * 1024 * 1024 \

src/refdb_fs.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,6 @@
2626
#include <git2/sys/refs.h>
2727
#include <git2/sys/reflog.h>
2828

29-
GIT__USE_STRMAP
30-
3129
#define DEFAULT_NESTING_LEVEL 5
3230
#define MAX_NESTING_LEVEL 10
3331

src/refs.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,6 @@
2626

2727
bool git_reference__enable_symbolic_ref_target_validation = true;
2828

29-
GIT__USE_STRMAP
30-
3129
#define DEFAULT_NESTING_LEVEL 5
3230
#define MAX_NESTING_LEVEL 10
3331

src/repository.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@
3030
#include "submodule.h"
3131
#include "worktree.h"
3232

33-
GIT__USE_STRMAP
3433
#include "strmap.h"
3534

3635
#ifdef GIT_WIN32

0 commit comments

Comments
 (0)