Skip to content

Commit 43d9f0e

Browse files
committed
ntmlclient: make enum C90 compliant by removing trailing comma
1 parent 38c3449 commit 43d9f0e

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

deps/ntlmclient/ntlm.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ typedef enum {
3030
NTLM_STATE_CHALLENGE = 1,
3131
NTLM_STATE_RESPONSE = 2,
3232
NTLM_STATE_ERROR = 3,
33-
NTLM_STATE_COMPLETE = 4,
33+
NTLM_STATE_COMPLETE = 4
3434
} ntlm_state;
3535

3636
typedef struct {
@@ -122,15 +122,15 @@ struct ntlm_client {
122122
};
123123

124124
typedef enum {
125-
NTLM_ENABLE_HOSTVERSION = (1 << 31),
125+
NTLM_ENABLE_HOSTVERSION = (1 << 31)
126126
} ntlm_client_internal_flags;
127127

128128
typedef enum {
129129
NTLM_TARGET_INFO_END = 0,
130130
NTLM_TARGET_INFO_SERVER = 1,
131131
NTLM_TARGET_INFO_DOMAIN = 2,
132132
NTLM_TARGET_INFO_SERVER_DNS = 3,
133-
NTLM_TARGET_INFO_DOMAIN_DNS = 4,
133+
NTLM_TARGET_INFO_DOMAIN_DNS = 4
134134
} ntlm_target_info_type_t;
135135

136136
typedef enum {
@@ -168,7 +168,7 @@ typedef enum {
168168
NTLM_NEGOTIATE_TARGET_INFO = 0x00800000,
169169

170170
/* Version information should be provided */
171-
NTLM_NEGOTIATE_VERSION = 0x01000000,
171+
NTLM_NEGOTIATE_VERSION = 0x01000000
172172
} ntlm_negotiate_t;
173173

174174
extern int ntlm_client_set_nonce(ntlm_client *ntlm, uint64_t nonce);

deps/ntlmclient/ntlmclient.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ typedef enum {
3232
/**
3333
* The input provided to the function is missing or invalid.
3434
*/
35-
NTLM_CLIENT_ERROR_INVALID_INPUT = -2,
35+
NTLM_CLIENT_ERROR_INVALID_INPUT = -2
3636
} ntlm_error_code;
3737

3838
/*
@@ -98,7 +98,7 @@ typedef enum {
9898
* its idea of its hostname in the challenge message. You may
9999
* then set the authentication target based on it.
100100
*/
101-
NTLM_CLIENT_DISABLE_REQUEST_TARGET = (1 << 4),
101+
NTLM_CLIENT_DISABLE_REQUEST_TARGET = (1 << 4)
102102
} ntlm_client_flags;
103103

104104

0 commit comments

Comments
 (0)