diff options
author | Peter Pettersson <boretrk@hotmail.com> | 2021-10-22 22:39:10 +0200 |
---|---|---|
committer | Peter Pettersson <boretrk@hotmail.com> | 2021-11-15 16:45:40 +0100 |
commit | 43d9f0e3fe96823d88475fd9edae07732c84dbc8 (patch) | |
tree | 449e7a7ecb9acbc84bafddbaea6bb919bcb16318 /deps/ntlmclient | |
parent | 38c3449822162e7b7669c1cc7ca778afccb59406 (diff) | |
download | libgit2-43d9f0e3fe96823d88475fd9edae07732c84dbc8.tar.gz |
ntmlclient: make enum C90 compliant by removing trailing comma
Diffstat (limited to 'deps/ntlmclient')
-rw-r--r-- | deps/ntlmclient/ntlm.h | 8 | ||||
-rw-r--r-- | deps/ntlmclient/ntlmclient.h | 4 |
2 files changed, 6 insertions, 6 deletions
diff --git a/deps/ntlmclient/ntlm.h b/deps/ntlmclient/ntlm.h index 227f5bcba..4abfd7a85 100644 --- a/deps/ntlmclient/ntlm.h +++ b/deps/ntlmclient/ntlm.h @@ -30,7 +30,7 @@ typedef enum { NTLM_STATE_CHALLENGE = 1, NTLM_STATE_RESPONSE = 2, NTLM_STATE_ERROR = 3, - NTLM_STATE_COMPLETE = 4, + NTLM_STATE_COMPLETE = 4 } ntlm_state; typedef struct { @@ -122,7 +122,7 @@ struct ntlm_client { }; typedef enum { - NTLM_ENABLE_HOSTVERSION = (1 << 31), + NTLM_ENABLE_HOSTVERSION = (1 << 31) } ntlm_client_internal_flags; typedef enum { @@ -130,7 +130,7 @@ typedef enum { NTLM_TARGET_INFO_SERVER = 1, NTLM_TARGET_INFO_DOMAIN = 2, NTLM_TARGET_INFO_SERVER_DNS = 3, - NTLM_TARGET_INFO_DOMAIN_DNS = 4, + NTLM_TARGET_INFO_DOMAIN_DNS = 4 } ntlm_target_info_type_t; typedef enum { @@ -168,7 +168,7 @@ typedef enum { NTLM_NEGOTIATE_TARGET_INFO = 0x00800000, /* Version information should be provided */ - NTLM_NEGOTIATE_VERSION = 0x01000000, + NTLM_NEGOTIATE_VERSION = 0x01000000 } ntlm_negotiate_t; extern int ntlm_client_set_nonce(ntlm_client *ntlm, uint64_t nonce); diff --git a/deps/ntlmclient/ntlmclient.h b/deps/ntlmclient/ntlmclient.h index bf57b17c6..958b27e62 100644 --- a/deps/ntlmclient/ntlmclient.h +++ b/deps/ntlmclient/ntlmclient.h @@ -32,7 +32,7 @@ typedef enum { /** * The input provided to the function is missing or invalid. */ - NTLM_CLIENT_ERROR_INVALID_INPUT = -2, + NTLM_CLIENT_ERROR_INVALID_INPUT = -2 } ntlm_error_code; /* @@ -98,7 +98,7 @@ typedef enum { * its idea of its hostname in the challenge message. You may * then set the authentication target based on it. */ - NTLM_CLIENT_DISABLE_REQUEST_TARGET = (1 << 4), + NTLM_CLIENT_DISABLE_REQUEST_TARGET = (1 << 4) } ntlm_client_flags; |