Adhere to coding style in logging module (struct uc_log_destination->
struct UCLogDestination, and similar for other structs)
This commit is contained in:
@@ -25,7 +25,7 @@
|
||||
#define PEER_HB_SEC 5
|
||||
#define PEER_HB_MISS 3
|
||||
|
||||
static struct uc_log_module modules[] = {
|
||||
static struct UCLogModule modules[] = {
|
||||
{
|
||||
.id = LMAIN,
|
||||
.short_name = "MAIN",
|
||||
@@ -34,7 +34,7 @@ static struct uc_log_module modules[] = {
|
||||
}
|
||||
};
|
||||
|
||||
static struct uc_log_modules log_modules = {
|
||||
static struct UCLogModules log_modules = {
|
||||
.mods = modules,
|
||||
.cnt = ARRAY_SIZE(modules)
|
||||
};
|
||||
@@ -262,7 +262,7 @@ int main(int argc, char *argv[])
|
||||
uint16_t local_port = 23456;
|
||||
uint16_t remote_port = 23456;
|
||||
int c;
|
||||
struct uc_log_destination *dest;
|
||||
struct UCLogDestination *dest;
|
||||
|
||||
srand(getpid());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user