app/authors.h
static const char *authors[] = {
/* original author(s) */
"Alexander Larsson <alexl@redhat.com>",
...
NULL
};
输出:
const int nauthors = (sizeof(authors) / sizeof(authors[0])) - 1;
for (i = 0; i < nauthors; ++i) {
printf("%s\n", authors[i]);
}