Rewrite function declarators without prototypes
This syntax is removed in C2x proposal N2841. Test: presubmit Change-Id: I3b067023327ed22dffda698c5f1accde60d95839
This commit is contained in:
parent
8874ad6378
commit
d82c4e71c9
|
@ -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)
|
||||||
|
|
|
@ -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",
|
||||||
|
|
Loading…
Reference in New Issue