Commit 7dcc29fc by Peter Pettersson

Make enum in src,tests and examples C90 compliant by removing trailing comma.

parent 43d9f0e3
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
enum index_mode { enum index_mode {
INDEX_NONE, INDEX_NONE,
INDEX_ADD, INDEX_ADD
}; };
struct index_options { struct index_options {
......
...@@ -27,7 +27,7 @@ enum subcmd { ...@@ -27,7 +27,7 @@ enum subcmd {
subcmd_remove, subcmd_remove,
subcmd_rename, subcmd_rename,
subcmd_seturl, subcmd_seturl,
subcmd_show, subcmd_show
}; };
struct remote_opts { struct remote_opts {
......
...@@ -38,7 +38,7 @@ enum { ...@@ -38,7 +38,7 @@ enum {
FORMAT_DEFAULT = 0, FORMAT_DEFAULT = 0,
FORMAT_LONG = 1, FORMAT_LONG = 1,
FORMAT_SHORT = 2, FORMAT_SHORT = 2,
FORMAT_PORCELAIN = 3, FORMAT_PORCELAIN = 3
}; };
#define MAX_PATHSPEC 8 #define MAX_PATHSPEC 8
......
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
typedef enum { typedef enum {
GIT_ANNOTATED_COMMIT_REAL = 1, GIT_ANNOTATED_COMMIT_REAL = 1,
GIT_ANNOTATED_COMMIT_VIRTUAL = 2, GIT_ANNOTATED_COMMIT_VIRTUAL = 2
} git_annotated_commit_t; } git_annotated_commit_t;
/** /**
......
...@@ -45,7 +45,7 @@ enum { ...@@ -45,7 +45,7 @@ enum {
CHECKOUT_ACTION__UPDATE_CONFLICT = 32, CHECKOUT_ACTION__UPDATE_CONFLICT = 32,
CHECKOUT_ACTION__MAX = 32, CHECKOUT_ACTION__MAX = 32,
CHECKOUT_ACTION__REMOVE_AND_UPDATE = CHECKOUT_ACTION__REMOVE_AND_UPDATE =
(CHECKOUT_ACTION__UPDATE_BLOB | CHECKOUT_ACTION__REMOVE), (CHECKOUT_ACTION__UPDATE_BLOB | CHECKOUT_ACTION__REMOVE)
}; };
typedef struct { typedef struct {
......
...@@ -61,7 +61,7 @@ int git_commit__parse(void *commit, git_odb_object *obj); ...@@ -61,7 +61,7 @@ int git_commit__parse(void *commit, git_odb_object *obj);
int git_commit__parse_raw(void *commit, const char *data, size_t size); int git_commit__parse_raw(void *commit, const char *data, size_t size);
typedef enum { typedef enum {
GIT_COMMIT_PARSE_QUICK = (1 << 0), /**< Only parse parents and committer info */ GIT_COMMIT_PARSE_QUICK = (1 << 0) /**< Only parse parents and committer info */
} git_commit__parse_flags; } git_commit__parse_flags;
int git_commit__parse_ext(git_commit *commit, git_odb_object *odb_obj, unsigned int flags); int git_commit__parse_ext(git_commit *commit, git_odb_object *odb_obj, unsigned int flags);
......
...@@ -754,7 +754,7 @@ enum generation_number_commit_state { ...@@ -754,7 +754,7 @@ enum generation_number_commit_state {
GENERATION_NUMBER_COMMIT_STATE_UNVISITED = 0, GENERATION_NUMBER_COMMIT_STATE_UNVISITED = 0,
GENERATION_NUMBER_COMMIT_STATE_ADDED = 1, GENERATION_NUMBER_COMMIT_STATE_ADDED = 1,
GENERATION_NUMBER_COMMIT_STATE_EXPANDED = 2, GENERATION_NUMBER_COMMIT_STATE_EXPANDED = 2,
GENERATION_NUMBER_COMMIT_STATE_VISITED = 3, GENERATION_NUMBER_COMMIT_STATE_VISITED = 3
}; };
static int compute_generation_numbers(git_vector *commits) static int compute_generation_numbers(git_vector *commits)
......
...@@ -26,7 +26,7 @@ typedef enum { ...@@ -26,7 +26,7 @@ typedef enum {
GIT_CRLF_TEXT_CRLF, GIT_CRLF_TEXT_CRLF,
GIT_CRLF_AUTO, GIT_CRLF_AUTO,
GIT_CRLF_AUTO_INPUT, GIT_CRLF_AUTO_INPUT,
GIT_CRLF_AUTO_CRLF, GIT_CRLF_AUTO_CRLF
} git_crlf_t; } git_crlf_t;
struct crlf_attrs { struct crlf_attrs {
......
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
typedef enum { typedef enum {
GIT_DIFF_TYPE_UNKNOWN = 0, GIT_DIFF_TYPE_UNKNOWN = 0,
GIT_DIFF_TYPE_GENERATED = 1, GIT_DIFF_TYPE_GENERATED = 1,
GIT_DIFF_TYPE_PARSED = 2, GIT_DIFF_TYPE_PARSED = 2
} git_diff_origin_t; } git_diff_origin_t;
struct git_diff { struct git_diff {
......
...@@ -21,7 +21,7 @@ typedef enum { ...@@ -21,7 +21,7 @@ typedef enum {
DIFF_DRIVER_AUTO = 0, DIFF_DRIVER_AUTO = 0,
DIFF_DRIVER_BINARY = 1, DIFF_DRIVER_BINARY = 1,
DIFF_DRIVER_TEXT = 2, DIFF_DRIVER_TEXT = 2,
DIFF_DRIVER_PATTERNLIST = 3, DIFF_DRIVER_PATTERNLIST = 3
} git_diff_driver_t; } git_diff_driver_t;
typedef struct { typedef struct {
......
...@@ -18,7 +18,7 @@ enum { ...@@ -18,7 +18,7 @@ enum {
GIT_DIFFCAPS_IGNORE_STAT = (1 << 1), /* use stat? */ GIT_DIFFCAPS_IGNORE_STAT = (1 << 1), /* use stat? */
GIT_DIFFCAPS_TRUST_MODE_BITS = (1 << 2), /* use st_mode? */ GIT_DIFFCAPS_TRUST_MODE_BITS = (1 << 2), /* use st_mode? */
GIT_DIFFCAPS_TRUST_CTIME = (1 << 3), /* use st_ctime? */ GIT_DIFFCAPS_TRUST_CTIME = (1 << 3), /* use st_ctime? */
GIT_DIFFCAPS_USE_DEV = (1 << 4), /* use st_dev? */ GIT_DIFFCAPS_USE_DEV = (1 << 4) /* use st_dev? */
}; };
#define DIFF_FLAGS_KNOWN_BINARY (GIT_DIFF_FLAG_BINARY|GIT_DIFF_FLAG_NOT_BINARY) #define DIFF_FLAGS_KNOWN_BINARY (GIT_DIFF_FLAG_BINARY|GIT_DIFF_FLAG_NOT_BINARY)
...@@ -36,7 +36,7 @@ enum { ...@@ -36,7 +36,7 @@ enum {
GIT_DIFF_FLAG__TO_SPLIT = (1 << 17), /* split entry during rename det. */ GIT_DIFF_FLAG__TO_SPLIT = (1 << 17), /* split entry during rename det. */
GIT_DIFF_FLAG__IS_RENAME_TARGET = (1 << 18), GIT_DIFF_FLAG__IS_RENAME_TARGET = (1 << 18),
GIT_DIFF_FLAG__IS_RENAME_SOURCE = (1 << 19), GIT_DIFF_FLAG__IS_RENAME_SOURCE = (1 << 19),
GIT_DIFF_FLAG__HAS_SELF_SIMILARITY = (1 << 20), GIT_DIFF_FLAG__HAS_SELF_SIMILARITY = (1 << 20)
}; };
#define GIT_DIFF_FLAG__CLEAR_INTERNAL(F) (F) = ((F) & 0x00FFFF) #define GIT_DIFF_FLAG__CLEAR_INTERNAL(F) (F) = ((F) & 0x00FFFF)
......
...@@ -96,7 +96,7 @@ typedef enum { ...@@ -96,7 +96,7 @@ typedef enum {
GIT_MKDIR_SKIP_LAST2 = 32, GIT_MKDIR_SKIP_LAST2 = 32,
GIT_MKDIR_VERIFY_DIR = 64, GIT_MKDIR_VERIFY_DIR = 64,
GIT_MKDIR_REMOVE_FILES = 128, GIT_MKDIR_REMOVE_FILES = 128,
GIT_MKDIR_REMOVE_SYMLINKS = 256, GIT_MKDIR_REMOVE_SYMLINKS = 256
} git_futils_mkdir_flags; } git_futils_mkdir_flags;
struct git_futils_mkdir_perfdata struct git_futils_mkdir_perfdata
...@@ -159,7 +159,7 @@ typedef enum { ...@@ -159,7 +159,7 @@ typedef enum {
GIT_RMDIR_SKIP_NONEMPTY = (1 << 1), GIT_RMDIR_SKIP_NONEMPTY = (1 << 1),
GIT_RMDIR_EMPTY_PARENTS = (1 << 2), GIT_RMDIR_EMPTY_PARENTS = (1 << 2),
GIT_RMDIR_REMOVE_BLOCKERS = (1 << 3), GIT_RMDIR_REMOVE_BLOCKERS = (1 << 3),
GIT_RMDIR_SKIP_ROOT = (1 << 4), GIT_RMDIR_SKIP_ROOT = (1 << 4)
} git_futils_rmdir_flags; } git_futils_rmdir_flags;
/** /**
...@@ -224,7 +224,7 @@ typedef enum { ...@@ -224,7 +224,7 @@ typedef enum {
GIT_CPDIR_OVERWRITE = (1u << 3), GIT_CPDIR_OVERWRITE = (1u << 3),
GIT_CPDIR_CHMOD_DIRS = (1u << 4), GIT_CPDIR_CHMOD_DIRS = (1u << 4),
GIT_CPDIR_SIMPLE_TO_MODE = (1u << 5), GIT_CPDIR_SIMPLE_TO_MODE = (1u << 5),
GIT_CPDIR_LINK_FILES = (1u << 6), GIT_CPDIR_LINK_FILES = (1u << 6)
} git_futils_cpdir_flags; } git_futils_cpdir_flags;
/** /**
......
...@@ -48,7 +48,7 @@ enum { ...@@ -48,7 +48,7 @@ enum {
GIT_IGNORE_UNCHECKED = -2, GIT_IGNORE_UNCHECKED = -2,
GIT_IGNORE_NOTFOUND = -1, GIT_IGNORE_NOTFOUND = -1,
GIT_IGNORE_FALSE = 0, GIT_IGNORE_FALSE = 0,
GIT_IGNORE_TRUE = 1, GIT_IGNORE_TRUE = 1
}; };
extern int git_ignore__lookup(int *out, git_ignores *ign, const char *path, git_dir_flag dir_flag); extern int git_ignore__lookup(int *out, git_ignores *ign, const char *path, git_dir_flag dir_flag);
......
...@@ -3386,7 +3386,7 @@ enum { ...@@ -3386,7 +3386,7 @@ enum {
INDEX_ACTION_NONE = 0, INDEX_ACTION_NONE = 0,
INDEX_ACTION_UPDATE = 1, INDEX_ACTION_UPDATE = 1,
INDEX_ACTION_REMOVE = 2, INDEX_ACTION_REMOVE = 2,
INDEX_ACTION_ADDALL = 3, INDEX_ACTION_ADDALL = 3
}; };
int git_index_add_all( int git_index_add_all(
......
...@@ -293,7 +293,7 @@ typedef enum { ...@@ -293,7 +293,7 @@ typedef enum {
ITERATOR_PATHLIST_IS_FILE = 1, ITERATOR_PATHLIST_IS_FILE = 1,
ITERATOR_PATHLIST_IS_DIR = 2, ITERATOR_PATHLIST_IS_DIR = 2,
ITERATOR_PATHLIST_IS_PARENT = 3, ITERATOR_PATHLIST_IS_PARENT = 3,
ITERATOR_PATHLIST_FULL = 4, ITERATOR_PATHLIST_FULL = 4
} iterator_pathlist_search_t; } iterator_pathlist_search_t;
static iterator_pathlist_search_t iterator_pathlist_search( static iterator_pathlist_search_t iterator_pathlist_search(
......
...@@ -21,7 +21,7 @@ typedef enum { ...@@ -21,7 +21,7 @@ typedef enum {
GIT_ITERATOR_TREE = 1, GIT_ITERATOR_TREE = 1,
GIT_ITERATOR_INDEX = 2, GIT_ITERATOR_INDEX = 2,
GIT_ITERATOR_WORKDIR = 3, GIT_ITERATOR_WORKDIR = 3,
GIT_ITERATOR_FS = 4, GIT_ITERATOR_FS = 4
} git_iterator_t; } git_iterator_t;
typedef enum { typedef enum {
...@@ -42,7 +42,7 @@ typedef enum { ...@@ -42,7 +42,7 @@ typedef enum {
/** descend into symlinked directories */ /** descend into symlinked directories */
GIT_ITERATOR_DESCEND_SYMLINKS = (1u << 7), GIT_ITERATOR_DESCEND_SYMLINKS = (1u << 7),
/** hash files in workdir or filesystem iterators */ /** hash files in workdir or filesystem iterators */
GIT_ITERATOR_INCLUDE_HASH = (1u << 8), GIT_ITERATOR_INCLUDE_HASH = (1u << 8)
} git_iterator_flag_t; } git_iterator_flag_t;
typedef enum { typedef enum {
......
...@@ -29,12 +29,12 @@ ...@@ -29,12 +29,12 @@
/** Internal merge flags. */ /** Internal merge flags. */
enum { enum {
/** The merge is for a virtual base in a recursive merge. */ /** The merge is for a virtual base in a recursive merge. */
GIT_MERGE__VIRTUAL_BASE = (1 << 31), GIT_MERGE__VIRTUAL_BASE = (1 << 31)
}; };
enum { enum {
/** Accept the conflict file, staging it as the merge result. */ /** Accept the conflict file, staging it as the merge result. */
GIT_MERGE_FILE_FAVOR__CONFLICTED = 4, GIT_MERGE_FILE_FAVOR__CONFLICTED = 4
}; };
...@@ -83,7 +83,7 @@ typedef enum { ...@@ -83,7 +83,7 @@ typedef enum {
GIT_MERGE_DIFF_DIRECTORY_FILE = (1 << 10), GIT_MERGE_DIFF_DIRECTORY_FILE = (1 << 10),
/* The child of a folder that is in a directory/file conflict. */ /* The child of a folder that is in a directory/file conflict. */
GIT_MERGE_DIFF_DF_CHILD = (1 << 11), GIT_MERGE_DIFF_DF_CHILD = (1 << 11)
} git_merge_diff_t; } git_merge_diff_t;
typedef struct { typedef struct {
......
...@@ -42,7 +42,7 @@ typedef struct gitno_buffer { ...@@ -42,7 +42,7 @@ typedef struct gitno_buffer {
/* Flags to gitno_connect */ /* Flags to gitno_connect */
enum { enum {
/* Attempt to create an SSL connection. */ /* Attempt to create an SSL connection. */
GITNO_CONNECT_SSL = 1, GITNO_CONNECT_SSL = 1
}; };
/** /**
......
...@@ -53,7 +53,7 @@ struct git_odb { ...@@ -53,7 +53,7 @@ struct git_odb {
}; };
typedef enum { typedef enum {
GIT_ODB_CAP_FROM_OWNER = -1, GIT_ODB_CAP_FROM_OWNER = -1
} git_odb_cap_t; } git_odb_cap_t;
/* /*
......
...@@ -21,7 +21,7 @@ enum { ...@@ -21,7 +21,7 @@ enum {
GIT_PATCH_GENERATED_DIFFABLE = (1 << 3), GIT_PATCH_GENERATED_DIFFABLE = (1 << 3),
/* the difference between the two sides has been computed */ /* the difference between the two sides has been computed */
GIT_PATCH_GENERATED_DIFFED = (1 << 4), GIT_PATCH_GENERATED_DIFFED = (1 << 4),
GIT_PATCH_GENERATED_FLATTENED = (1 << 5), GIT_PATCH_GENERATED_FLATTENED = (1 << 5)
}; };
struct git_patch_generated { struct git_patch_generated {
......
...@@ -382,7 +382,7 @@ typedef enum { ...@@ -382,7 +382,7 @@ typedef enum {
STATE_RENAME, STATE_RENAME,
STATE_COPY, STATE_COPY,
STATE_END, STATE_END
} parse_header_state; } parse_header_state;
typedef struct { typedef struct {
......
...@@ -25,7 +25,7 @@ struct git_pathspec { ...@@ -25,7 +25,7 @@ struct git_pathspec {
enum { enum {
PATHSPEC_DATATYPE_STRINGS = 0, PATHSPEC_DATATYPE_STRINGS = 0,
PATHSPEC_DATATYPE_DIFF = 1, PATHSPEC_DATATYPE_DIFF = 1
}; };
typedef git_array_t(char *) git_pathspec_string_array_t; typedef git_array_t(char *) git_pathspec_string_array_t;
......
...@@ -15,7 +15,7 @@ typedef git_vector git_pqueue; ...@@ -15,7 +15,7 @@ typedef git_vector git_pqueue;
enum { enum {
/* flag meaning: don't grow heap, keep highest values only */ /* flag meaning: don't grow heap, keep highest values only */
GIT_PQUEUE_FIXED_SIZE = (GIT_VECTOR_FLAG_MAX << 1), GIT_PQUEUE_FIXED_SIZE = (GIT_VECTOR_FLAG_MAX << 1)
}; };
/** /**
......
...@@ -53,7 +53,7 @@ typedef enum { ...@@ -53,7 +53,7 @@ typedef enum {
GIT_REBASE_NONE = 0, GIT_REBASE_NONE = 0,
GIT_REBASE_APPLY = 1, GIT_REBASE_APPLY = 1,
GIT_REBASE_MERGE = 2, GIT_REBASE_MERGE = 2,
GIT_REBASE_INTERACTIVE = 3, GIT_REBASE_INTERACTIVE = 3
} git_rebase_t; } git_rebase_t;
struct git_rebase { struct git_rebase {
......
...@@ -35,7 +35,7 @@ enum { ...@@ -35,7 +35,7 @@ enum {
PACKREF_HAS_PEEL = 1, PACKREF_HAS_PEEL = 1,
PACKREF_WAS_LOOSE = 2, PACKREF_WAS_LOOSE = 2,
PACKREF_CANNOT_PEEL = 4, PACKREF_CANNOT_PEEL = 4,
PACKREF_SHADOWED = 8, PACKREF_SHADOWED = 8
}; };
enum { enum {
......
...@@ -118,14 +118,14 @@ typedef enum { ...@@ -118,14 +118,14 @@ typedef enum {
/* core.fsyncObjectFiles */ /* core.fsyncObjectFiles */
GIT_FSYNCOBJECTFILES_DEFAULT = GIT_CONFIGMAP_FALSE, GIT_FSYNCOBJECTFILES_DEFAULT = GIT_CONFIGMAP_FALSE,
/* core.longpaths */ /* core.longpaths */
GIT_LONGPATHS_DEFAULT = GIT_CONFIGMAP_FALSE, GIT_LONGPATHS_DEFAULT = GIT_CONFIGMAP_FALSE
} git_configmap_value; } git_configmap_value;
/* internal repository init flags */ /* internal repository init flags */
enum { enum {
GIT_REPOSITORY_INIT__HAS_DOTGIT = (1u << 16), GIT_REPOSITORY_INIT__HAS_DOTGIT = (1u << 16),
GIT_REPOSITORY_INIT__NATURAL_WD = (1u << 17), GIT_REPOSITORY_INIT__NATURAL_WD = (1u << 17),
GIT_REPOSITORY_INIT__IS_REINIT = (1u << 18), GIT_REPOSITORY_INIT__IS_REINIT = (1u << 18)
}; };
/** Internal structure for repository object */ /** Internal structure for repository object */
......
...@@ -61,7 +61,7 @@ enum { ...@@ -61,7 +61,7 @@ enum {
}; };
enum { enum {
GITMODULES_EXISTING = 0, GITMODULES_EXISTING = 0,
GITMODULES_CREATE = 1, GITMODULES_CREATE = 1
}; };
static int submodule_alloc(git_submodule **out, git_repository *repo, const char *name); static int submodule_alloc(git_submodule **out, git_repository *repo, const char *name);
......
...@@ -110,7 +110,7 @@ enum { ...@@ -110,7 +110,7 @@ enum {
GIT_SUBMODULE_STATUS__HEAD_NOT_SUBMODULE = (1u << 24), GIT_SUBMODULE_STATUS__HEAD_NOT_SUBMODULE = (1u << 24),
GIT_SUBMODULE_STATUS__INDEX_NOT_SUBMODULE = (1u << 25), GIT_SUBMODULE_STATUS__INDEX_NOT_SUBMODULE = (1u << 25),
GIT_SUBMODULE_STATUS__WD_NOT_SUBMODULE = (1u << 26), GIT_SUBMODULE_STATUS__WD_NOT_SUBMODULE = (1u << 26),
GIT_SUBMODULE_STATUS__INDEX_MULTIPLE_ENTRIES = (1u << 27), GIT_SUBMODULE_STATUS__INDEX_MULTIPLE_ENTRIES = (1u << 27)
}; };
#define GIT_SUBMODULE_STATUS__CLEAR_INTERNAL(S) \ #define GIT_SUBMODULE_STATUS__CLEAR_INTERNAL(S) \
......
...@@ -74,7 +74,7 @@ typedef enum { ...@@ -74,7 +74,7 @@ typedef enum {
GIT_SYSDIR_XDG = 2, GIT_SYSDIR_XDG = 2,
GIT_SYSDIR_PROGRAMDATA = 3, GIT_SYSDIR_PROGRAMDATA = 3,
GIT_SYSDIR_TEMPLATE = 4, GIT_SYSDIR_TEMPLATE = 4,
GIT_SYSDIR__MAX = 5, GIT_SYSDIR__MAX = 5
} git_sysdir_t; } git_sysdir_t;
/** /**
......
...@@ -286,7 +286,7 @@ enum trailer_state { ...@@ -286,7 +286,7 @@ enum trailer_state {
S_VALUE = 4, S_VALUE = 4,
S_VALUE_NL = 5, S_VALUE_NL = 5,
S_VALUE_END = 6, S_VALUE_END = 6,
S_IGNORE = 7, S_IGNORE = 7
}; };
#define NEXT(st) { state = (st); ptr++; continue; } #define NEXT(st) { state = (st); ptr++; continue; }
......
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
typedef enum { typedef enum {
TRANSACTION_NONE, TRANSACTION_NONE,
TRANSACTION_REFS, TRANSACTION_REFS,
TRANSACTION_CONFIG, TRANSACTION_CONFIG
} transaction_t; } transaction_t;
typedef struct { typedef struct {
......
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
typedef enum { typedef enum {
GIT_HTTP_AUTH_BASIC = 1, GIT_HTTP_AUTH_BASIC = 1,
GIT_HTTP_AUTH_NEGOTIATE = 2, GIT_HTTP_AUTH_NEGOTIATE = 2,
GIT_HTTP_AUTH_NTLM = 4, GIT_HTTP_AUTH_NTLM = 4
} git_http_auth_t; } git_http_auth_t;
typedef struct git_http_auth_context git_http_auth_context; typedef struct git_http_auth_context git_http_auth_context;
......
...@@ -46,7 +46,7 @@ typedef enum { ...@@ -46,7 +46,7 @@ typedef enum {
GIT_PKT_PROGRESS, GIT_PKT_PROGRESS,
GIT_PKT_OK, GIT_PKT_OK,
GIT_PKT_NG, GIT_PKT_NG,
GIT_PKT_UNPACK, GIT_PKT_UNPACK
} git_pkt_type; } git_pkt_type;
/* Used for multi_ack and multi_ack_detailed */ /* Used for multi_ack and multi_ack_detailed */
......
...@@ -99,7 +99,7 @@ typedef enum { ...@@ -99,7 +99,7 @@ typedef enum {
GIT_WINHTTP_AUTH_BASIC = 1, GIT_WINHTTP_AUTH_BASIC = 1,
GIT_WINHTTP_AUTH_NTLM = 2, GIT_WINHTTP_AUTH_NTLM = 2,
GIT_WINHTTP_AUTH_NEGOTIATE = 4, GIT_WINHTTP_AUTH_NEGOTIATE = 4,
GIT_WINHTTP_AUTH_DIGEST = 8, GIT_WINHTTP_AUTH_DIGEST = 8
} winhttp_authmechanism_t; } winhttp_authmechanism_t;
typedef struct { typedef struct {
......
...@@ -13,7 +13,7 @@ typedef int (*git_vector_cmp)(const void *, const void *); ...@@ -13,7 +13,7 @@ typedef int (*git_vector_cmp)(const void *, const void *);
enum { enum {
GIT_VECTOR_SORTED = (1u << 0), GIT_VECTOR_SORTED = (1u << 0),
GIT_VECTOR_FLAG_MAX = (1u << 1), GIT_VECTOR_FLAG_MAX = (1u << 1)
}; };
typedef struct git_vector { typedef struct git_vector {
......
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
typedef enum { typedef enum {
GIT_ZSTREAM_INFLATE, GIT_ZSTREAM_INFLATE,
GIT_ZSTREAM_DEFLATE, GIT_ZSTREAM_DEFLATE
} git_zstream_t; } git_zstream_t;
typedef struct { typedef struct {
......
...@@ -13,12 +13,12 @@ enum cl_test_status { ...@@ -13,12 +13,12 @@ enum cl_test_status {
CL_TEST_OK, CL_TEST_OK,
CL_TEST_FAILURE, CL_TEST_FAILURE,
CL_TEST_SKIP, CL_TEST_SKIP,
CL_TEST_NOTRUN, CL_TEST_NOTRUN
}; };
enum cl_output_format { enum cl_output_format {
CL_OUTPUT_CLAP, CL_OUTPUT_CLAP,
CL_OUTPUT_TAP, CL_OUTPUT_TAP
}; };
/** Setup clar environment */ /** Setup clar environment */
...@@ -60,7 +60,7 @@ typedef enum cl_trace_event { ...@@ -60,7 +60,7 @@ typedef enum cl_trace_event {
CL_TRACE__TEST__END, CL_TRACE__TEST__END,
CL_TRACE__TEST__RUN_BEGIN, CL_TRACE__TEST__RUN_BEGIN,
CL_TRACE__TEST__RUN_END, CL_TRACE__TEST__RUN_END,
CL_TRACE__TEST__LONGJMP, CL_TRACE__TEST__LONGJMP
} cl_trace_event; } cl_trace_event;
typedef void (cl_trace_cb)( typedef void (cl_trace_cb)(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment