Skip to content

Commit e0b153b

Browse files
c6burnsbaldwinmatt
authored andcommitted
fixed invalid C function prototype (aws#943)
1 parent e23fb83 commit e0b153b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

api/s2n.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ extern int s2n_error_get_type(int error);
5050
struct s2n_config;
5151
struct s2n_connection;
5252

53-
extern unsigned long s2n_get_openssl_version();
53+
extern unsigned long s2n_get_openssl_version(void);
5454
extern int s2n_init(void);
5555
extern int s2n_cleanup(void);
5656
extern struct s2n_config *s2n_config_new(void);

utils/s2n_init.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424

2525
static void s2n_cleanup_atexit(void);
2626

27-
unsigned long s2n_get_openssl_version()
27+
unsigned long s2n_get_openssl_version(void)
2828
{
2929
return OPENSSL_VERSION_NUMBER;
3030
}

0 commit comments

Comments
 (0)