Mark test functions as static and __attribute__ ((noreturn))
This commit is contained in:
parent
de22f38da2
commit
7afe93f9a2
@ -3076,7 +3076,7 @@ static struct {
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
int
|
static int
|
||||||
tv(void)
|
tv(void)
|
||||||
{
|
{
|
||||||
unsigned char *ad;
|
unsigned char *ad;
|
||||||
|
@ -17,7 +17,7 @@ static unsigned char c[16]
|
|||||||
|
|
||||||
static unsigned char out[64];
|
static unsigned char out[64];
|
||||||
|
|
||||||
void print(unsigned char *x, unsigned char *y)
|
static void print(unsigned char *x, unsigned char *y)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
unsigned int borrow = 0;
|
unsigned int borrow = 0;
|
||||||
|
@ -1291,7 +1291,7 @@ static struct {
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
int
|
static int
|
||||||
tv(void)
|
tv(void)
|
||||||
{
|
{
|
||||||
unsigned char *expected_out;
|
unsigned char *expected_out;
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
# warning The sodium_utils2 test is expected to fail with address sanitizer
|
# warning The sodium_utils2 test is expected to fail with address sanitizer
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
static void segv_handler(int sig)
|
__attribute__ ((noreturn)) static void segv_handler(int sig)
|
||||||
{
|
{
|
||||||
(void) sig;
|
(void) sig;
|
||||||
|
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
# warning The sodium_utils3 test is expected to fail with address sanitizer
|
# warning The sodium_utils3 test is expected to fail with address sanitizer
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
static void segv_handler(int sig)
|
__attribute__ ((noreturn)) static void segv_handler(int sig)
|
||||||
{
|
{
|
||||||
(void) sig;
|
(void) sig;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user