diff options
| author | Joakim Verona | 2013-01-16 00:03:29 +0100 |
|---|---|---|
| committer | Joakim Verona | 2013-01-16 00:03:29 +0100 |
| commit | 29901a24475c9dd0e7e7bc73adb0fabf7d0a7ddd (patch) | |
| tree | acbf658794aeff0bae865da7fc1e88733cb2b397 /lib-src/make-docfile.c | |
| parent | bc4f7ac4ec3ee942171b9fef6eec6b1a61cc5b8b (diff) | |
| parent | 963ea40fe96634a01b24aef4fc39acf9a4236eb7 (diff) | |
| download | emacs-29901a24475c9dd0e7e7bc73adb0fabf7d0a7ddd.tar.gz emacs-29901a24475c9dd0e7e7bc73adb0fabf7d0a7ddd.zip | |
auto upstream
Diffstat (limited to 'lib-src/make-docfile.c')
| -rw-r--r-- | lib-src/make-docfile.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib-src/make-docfile.c b/lib-src/make-docfile.c index 54a53c0d441..68e5279fd15 100644 --- a/lib-src/make-docfile.c +++ b/lib-src/make-docfile.c | |||
| @@ -624,7 +624,7 @@ write_globals (void) | |||
| 624 | qsort (globals, num_globals, sizeof (struct global), compare_globals); | 624 | qsort (globals, num_globals, sizeof (struct global), compare_globals); |
| 625 | for (i = 0; i < num_globals; ++i) | 625 | for (i = 0; i < num_globals; ++i) |
| 626 | { | 626 | { |
| 627 | char const *type; | 627 | char const *type = 0; |
| 628 | 628 | ||
| 629 | switch (globals[i].type) | 629 | switch (globals[i].type) |
| 630 | { | 630 | { |
| @@ -649,7 +649,7 @@ write_globals (void) | |||
| 649 | fatal ("not a recognized DEFVAR_", 0); | 649 | fatal ("not a recognized DEFVAR_", 0); |
| 650 | } | 650 | } |
| 651 | 651 | ||
| 652 | if (globals[i].type != FUNCTION) | 652 | if (type) |
| 653 | { | 653 | { |
| 654 | fprintf (outfile, " %s f_%s;\n", type, globals[i].name); | 654 | fprintf (outfile, " %s f_%s;\n", type, globals[i].name); |
| 655 | fprintf (outfile, "#define %s globals.f_%s\n", | 655 | fprintf (outfile, "#define %s globals.f_%s\n", |