summaryrefslogtreecommitdiff
path: root/include/git2/sys
diff options
context:
space:
mode:
authorPeter Pettersson <boretrk@hotmail.com>2021-10-03 00:12:52 +0200
committerPeter Pettersson <boretrk@hotmail.com>2021-11-15 16:45:40 +0100
commit38c3449822162e7b7669c1cc7ca778afccb59406 (patch)
tree7ce432a4a459b0b0ca025945b4aca9f2b54b9caa /include/git2/sys
parent5221e1854846ac31dd2ada44fb29dc705104e851 (diff)
downloadlibgit2-38c3449822162e7b7669c1cc7ca778afccb59406.tar.gz
Make enum in includes C90 compliant by removing trailing comma.
Diffstat (limited to 'include/git2/sys')
-rw-r--r--include/git2/sys/commit_graph.h2
-rw-r--r--include/git2/sys/stream.h2
-rw-r--r--include/git2/sys/transport.h4
3 files changed, 4 insertions, 4 deletions
diff --git a/include/git2/sys/commit_graph.h b/include/git2/sys/commit_graph.h
index f6c0fc4b5..823c7ed57 100644
--- a/include/git2/sys/commit_graph.h
+++ b/include/git2/sys/commit_graph.h
@@ -94,7 +94,7 @@ typedef enum {
* Do not split commit-graph files. The other split strategy-related option
* fields are ignored.
*/
- GIT_COMMIT_GRAPH_SPLIT_STRATEGY_SINGLE_FILE = 0,
+ GIT_COMMIT_GRAPH_SPLIT_STRATEGY_SINGLE_FILE = 0
} git_commit_graph_split_strategy_t;
/**
diff --git a/include/git2/sys/stream.h b/include/git2/sys/stream.h
index 6f93cc48c..e0e03a2d7 100644
--- a/include/git2/sys/stream.h
+++ b/include/git2/sys/stream.h
@@ -79,7 +79,7 @@ typedef enum {
GIT_STREAM_STANDARD = 1,
/** A TLS-encrypted socket. */
- GIT_STREAM_TLS = 2,
+ GIT_STREAM_TLS = 2
} git_stream_t;
/**
diff --git a/include/git2/sys/transport.h b/include/git2/sys/transport.h
index fee34544f..76003ee84 100644
--- a/include/git2/sys/transport.h
+++ b/include/git2/sys/transport.h
@@ -30,7 +30,7 @@ GIT_BEGIN_DECL
* Currently unused.
*/
typedef enum {
- GIT_TRANSPORTFLAGS_NONE = 0,
+ GIT_TRANSPORTFLAGS_NONE = 0
} git_transport_flags_t;
struct git_transport {
@@ -289,7 +289,7 @@ typedef enum {
GIT_SERVICE_UPLOADPACK_LS = 1,
GIT_SERVICE_UPLOADPACK = 2,
GIT_SERVICE_RECEIVEPACK_LS = 3,
- GIT_SERVICE_RECEIVEPACK = 4,
+ GIT_SERVICE_RECEIVEPACK = 4
} git_smart_service_t;
typedef struct git_smart_subtransport git_smart_subtransport;