stricter warnings, wip

This commit is contained in:
Philippe Teuwen 2020-05-02 23:54:27 +02:00
commit 0e39cb8e34
11 changed files with 20 additions and 16 deletions

View file

@ -5,14 +5,14 @@
* it under the terms of the MIT license. See LICENSE for details.
*/
#if HAVE_CONFIG_H
#ifdef HAVE_CONFIG_H
#include <jansson_private_config.h>
#endif
#include <stdlib.h>
#include <string.h>
#if HAVE_STDINT_H
#ifdef HAVE_STDINT_H
#include <stdint.h>
#endif

View file

@ -162,7 +162,7 @@ static int seed_from_timestamp_and_pid(uint32_t *seed) {
return 0;
}
static uint32_t generate_seed() {
static uint32_t generate_seed(void) {
uint32_t seed = 0;
int done = 0;