Skip to content

Commit 34165fb

Browse files
committed
CDRIVER-2370 fix forward decl
1 parent a3558fe commit 34165fb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/mongoc/mongoc-apm-private.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
BSON_BEGIN_DECLS
2929

3030
/* forward decl */
31-
typedef struct _mongoc_cmd_t mongoc_cmd_t;
31+
struct _mongoc_cmd_t;
3232

3333
struct _mongoc_apm_callbacks_t {
3434
mongoc_apm_command_started_cb_t started;
@@ -159,7 +159,7 @@ mongoc_apm_command_started_init (mongoc_apm_command_started_t *event,
159159

160160
void
161161
mongoc_apm_command_started_init_with_cmd (mongoc_apm_command_started_t *event,
162-
mongoc_cmd_t *cmd,
162+
struct _mongoc_cmd_t *cmd,
163163
int64_t request_id,
164164
void *context);
165165

0 commit comments

Comments
 (0)