Skip to content

Commit

Permalink
name the structs, not just the struct typedefs (charlesnicholson#227)
Browse files Browse the repository at this point in the history
  • Loading branch information
charlesnicholson authored Oct 17, 2022
1 parent 5eb27bc commit de89d6e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nanoprintf.h
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ typedef enum {
#endif
} npf_format_spec_conversion_t;

typedef struct {
typedef struct npf_format_spec {
char prepend; // ' ' or '+'
char alt_form; // '#'

Expand Down Expand Up @@ -246,7 +246,7 @@ typedef struct {
typedef uintmax_t npf_uint_t;
#endif

typedef struct {
typedef struct npf_bufputc_ctx {
char *dst;
size_t len;
size_t cur;
Expand Down

0 comments on commit de89d6e

Please sign in to comment.