Skip to content

Commit f509f63

Browse files
committed
Cosmetic change to main() in dpp/main.c
1 parent ac70d5c commit f509f63

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

apps/examples/dpp/main.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -73,10 +73,6 @@ int main(void) {
7373
}
7474
table_ctor(/*nsession=*/100);
7575

76-
static const char *names[PHILO_NUM] = {
77-
"philo0", "philo1", "philo2", "philo3", "philo4"
78-
};
79-
8076
am_ao_start(
8177
g_ao_table,
8278
/*prio=*/AM_AO_PRIO_MAX,
@@ -88,6 +84,10 @@ int main(void) {
8884
/*init_event=*/NULL
8985
);
9086

87+
static const char *names[PHILO_NUM] = {
88+
"philo0", "philo1", "philo2", "philo3", "philo4"
89+
};
90+
9191
for (int i = 0; i < AM_COUNTOF(names); i++) {
9292
am_ao_start(
9393
g_ao_philo[i],

0 commit comments

Comments
 (0)