diff options
| author | Paul Eggert | 2022-03-08 18:46:47 -0800 |
|---|---|---|
| committer | Paul Eggert | 2022-03-08 18:51:17 -0800 |
| commit | ec35e2621a945797cc4978ebf2e0fe0b0f436705 (patch) | |
| tree | c303c24d6f967f8c647f4724337a5c1103625a63 /src/sysstdio.h | |
| parent | f7032bdafe742c588c1b8b5054e2f383a41fff54 (diff) | |
| download | emacs-ec35e2621a945797cc4978ebf2e0fe0b0f436705.tar.gz emacs-ec35e2621a945797cc4978ebf2e0fe0b0f436705.zip | |
Do not include <attribute.h> from <config.h>
This is because mod-test.c shouldn’t use source code from lib,
but it does need to include <config.h>.
* lib-src/ebrowse.c, lib-src/emacsclient.c, lib-src/etags.c:
* lib-src/make-docfile.c, lib-src/movemail.c:
* lib-src/seccomp-filter.c, src/dynlib.h, src/lisp.h:
* src/syssignal.h, src/sysstdio.h, src/systhread.h, src/tparam.h:
Include <attribute.h>.
* src/conf_post.h: Do not include <attribute.h>.
All uses of attribute.h macros replaced with their _GL_ equivalents.
Diffstat (limited to 'src/sysstdio.h')
| -rw-r--r-- | src/sysstdio.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/sysstdio.h b/src/sysstdio.h index 5bcfe7d8a58..727a466be52 100644 --- a/src/sysstdio.h +++ b/src/sysstdio.h | |||
| @@ -24,7 +24,9 @@ along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>. */ | |||
| 24 | #include <fcntl.h> | 24 | #include <fcntl.h> |
| 25 | #include <limits.h> | 25 | #include <limits.h> |
| 26 | #include <stdio.h> | 26 | #include <stdio.h> |
| 27 | #include "unlocked-io.h" | 27 | |
| 28 | #include <attribute.h> | ||
| 29 | #include <unlocked-io.h> | ||
| 28 | 30 | ||
| 29 | extern FILE *emacs_fopen (char const *, char const *) ATTRIBUTE_MALLOC; | 31 | extern FILE *emacs_fopen (char const *, char const *) ATTRIBUTE_MALLOC; |
| 30 | extern void errputc (int); | 32 | extern void errputc (int); |