mirror of
https://github.com/urbit/ares.git
synced 2024-11-26 20:58:02 +03:00
pma: fix old style function definition warnings
This commit is contained in:
parent
7c9e1fc393
commit
15948a3772
@ -436,7 +436,7 @@ struct PMAState {
|
||||
PMAState *_pma_state = NULL;
|
||||
|
||||
void
|
||||
pma_state_free()
|
||||
pma_state_free(void)
|
||||
{
|
||||
if (_pma_state->metadata) free(_pma_state->metadata);
|
||||
free(_pma_state);
|
||||
@ -444,7 +444,7 @@ pma_state_free()
|
||||
}
|
||||
|
||||
int
|
||||
pma_state_malloc()
|
||||
pma_state_malloc(void)
|
||||
{
|
||||
if (_pma_state != NULL) return 1;
|
||||
PMAState *ret = calloc(1, sizeof *ret);
|
||||
|
Loading…
Reference in New Issue
Block a user