Rewrite function declarators without prototypes

This syntax is removed in C2x proposal N2841.

Test: presubmit
Change-Id: I3b067023327ed22dffda698c5f1accde60d95839
This commit is contained in:
Yi Kong 2022-06-22 16:57:55 +08:00
parent 8874ad6378
commit d82c4e71c9
2 changed files with 2 additions and 2 deletions

View File

@ -45,7 +45,7 @@ static char errmsg[2048];
typedef unsigned long long msecs_t; typedef unsigned long long msecs_t;
#if VERBOSE #if VERBOSE
void dump_dhcp_msg(); void dump_dhcp_msg(dhcp_msg *msg, int len);
#endif #endif
msecs_t get_msecs(void) msecs_t get_msecs(void)

View File

@ -61,7 +61,7 @@ static int statsdAvailable();
static int statsdOpen(); static int statsdOpen();
static void statsdClose(); static void statsdClose();
static int statsdWrite(struct timespec* ts, struct iovec* vec, size_t nr); 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 = { struct android_log_transport_write statsdLoggerWrite = {
.name = "statsd", .name = "statsd",