Skip to content

Commit

Permalink
Fix conflicting prototype
Browse files Browse the repository at this point in the history
src/digitemp.c:171:6: error: conflicting types for ‘free_coupler’; have ‘void(int)’
  171 | void free_coupler( int free_only )
      |      ^~~~~~~~~~~~
In file included from src/digitemp.c:78:
src/digitemp.h:90:6: note: previous declaration of ‘free_coupler’ with type ‘void(void)’
   90 | void free_coupler();
      |      ^~~~~~~~~~~~
  • Loading branch information
robert-scheck authored and bcl committed Jan 17, 2025
1 parent f2f9d18 commit fa56b0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/digitemp.h
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ struct _coupler {

/* Prototypes */
void usage();
void free_coupler();
void free_coupler( int free_only );
float c2f( float temp );
int build_tf( char *time_format, char *format, int sensor,
float temp_c, int humidity, unsigned char *sn );
Expand Down

0 comments on commit fa56b0f

Please sign in to comment.