Skip to content

Commit

Permalink
remove double typedef definitions
Browse files Browse the repository at this point in the history
Signed-off-by: Dorin Hogea <dhogea@bloomberg.net>
  • Loading branch information
dorinhogea authored and akshatsikarwar committed Dec 16, 2024
1 parent 83321d2 commit 74bd302
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 9 deletions.
5 changes: 0 additions & 5 deletions db/fdb_fend.h
Original file line number Diff line number Diff line change
Expand Up @@ -155,13 +155,9 @@ extern int gbl_fdb_push_redirect_foreign;
#define fdb_is_error(n) ((n) < FDB_NOERR)
#define fdb_node_invalid(n) (fdb_is_error((n)))

typedef struct fdb_tbl_ent fdb_tbl_ent_t;
typedef struct fdb_tbl fdb_tbl_t;
typedef struct fdb fdb_t;
typedef struct fdb_cache fdb_cache_t;
typedef struct fdb_cursor fdb_cursor_t;
typedef struct fdb_access fdb_access_t;
typedef struct fdb_affinity fdb_affinity_t;

typedef struct fdb_sqlstat_cache fdb_sqlstat_cache_t;
typedef struct fdb_sqlstat_table fdb_sqlstat_table_t;
Expand Down Expand Up @@ -216,7 +212,6 @@ struct fdb_distributed_tran {
int remoted; /* set to 1 if this is the remote part of a transaction */
LISTC_T(fdb_tran_t) fdb_trans; /* list of subtransactions */
};
typedef struct fdb_distributed_tran fdb_distributed_tran_t;

typedef struct fdb_cursor_if {
fdb_cursor_t *impl;
Expand Down
4 changes: 0 additions & 4 deletions db/sql.h
Original file line number Diff line number Diff line change
Expand Up @@ -257,10 +257,6 @@ struct fdb_affinity;
typedef struct fdb_affinity fdb_affinity_t;
struct fdb;
typedef struct fdb fdb_t;
struct Table;
typedef struct Table Table;
struct Parse;
typedef struct Parse Parse;

typedef struct {
enum transaction_level mode; /* TRANLEVEL_SOSQL, TRANLEVEL_RECOM, ... */
Expand Down

0 comments on commit 74bd302

Please sign in to comment.