Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d82c4e71 authored by Yi Kong's avatar Yi Kong
Browse files

Rewrite function declarators without prototypes

This syntax is removed in C2x proposal N2841.

Test: presubmit
Change-Id: I3b067023327ed22dffda698c5f1accde60d95839
parent 8874ad63
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -45,7 +45,7 @@ static char errmsg[2048];

typedef unsigned long long msecs_t;
#if VERBOSE
void dump_dhcp_msg();
void dump_dhcp_msg(dhcp_msg *msg, int len);
#endif

msecs_t get_msecs(void)
+1 −1
Original line number Diff line number Diff line
@@ -61,7 +61,7 @@ static int statsdAvailable();
static int statsdOpen();
static void statsdClose();
static int statsdWrite(struct timespec* ts, struct iovec* vec, size_t nr);
static void statsdNoteDrop();
static void statsdNoteDrop(int error, int tag);

struct android_log_transport_write statsdLoggerWrite = {
        .name = "statsd",