diff options
| author | Paul Eggert | 2016-03-10 07:34:52 -0800 |
|---|---|---|
| committer | Paul Eggert | 2016-03-10 07:59:19 -0800 |
| commit | 7352c6c695db8b90b63c2601277d64a32507d2bb (patch) | |
| tree | 1dc5f7af755a70f67efe13882099ff4920230571 /nt | |
| parent | a589e9aed5255fb1ebfb38fa4b3c9df5f6ef7448 (diff) | |
| download | emacs-7352c6c695db8b90b63c2601277d64a32507d2bb.tar.gz emacs-7352c6c695db8b90b63c2601277d64a32507d2bb.zip | |
Rework C source files to avoid ^(
Work around Bug#22884 by rewording comments and strings to avoid ‘(’
at the start of a line unless it starts a function. This change
is a short-term hack; in the longer run we plan to fix cc-mode’s
performance for C files that have ‘(’ at the start of a line in a
comment or string.
Diffstat (limited to 'nt')
| -rw-r--r-- | nt/addpm.c | 4 | ||||
| -rw-r--r-- | nt/cmdproxy.c | 4 | ||||
| -rw-r--r-- | nt/ddeclient.c | 5 | ||||
| -rw-r--r-- | nt/inc/grp.h | 5 | ||||
| -rw-r--r-- | nt/inc/inttypes.h | 4 | ||||
| -rw-r--r-- | nt/inc/langinfo.h | 5 | ||||
| -rw-r--r-- | nt/inc/ms-w32.h | 4 | ||||
| -rw-r--r-- | nt/inc/nl_types.h | 4 | ||||
| -rw-r--r-- | nt/inc/stdint.h | 4 | ||||
| -rw-r--r-- | nt/inc/sys/socket.h | 4 | ||||
| -rw-r--r-- | nt/inc/sys/stat.h | 4 | ||||
| -rw-r--r-- | nt/inc/sys/wait.h | 4 | ||||
| -rw-r--r-- | nt/preprep.c | 13 | ||||
| -rw-r--r-- | nt/runemacs.c | 4 |
14 files changed, 32 insertions, 36 deletions
diff --git a/nt/addpm.c b/nt/addpm.c index ed5014f44af..2161ea786bd 100644 --- a/nt/addpm.c +++ b/nt/addpm.c | |||
| @@ -5,8 +5,8 @@ This file is part of GNU Emacs. | |||
| 5 | 5 | ||
| 6 | GNU Emacs is free software: you can redistribute it and/or modify | 6 | GNU Emacs is free software: you can redistribute it and/or modify |
| 7 | it under the terms of the GNU General Public License as published by | 7 | it under the terms of the GNU General Public License as published by |
| 8 | the Free Software Foundation, either version 3 of the License, or | 8 | the Free Software Foundation, either version 3 of the License, or (at |
| 9 | (at your option) any later version. | 9 | your option) any later version. |
| 10 | 10 | ||
| 11 | GNU Emacs is distributed in the hope that it will be useful, | 11 | GNU Emacs is distributed in the hope that it will be useful, |
| 12 | but WITHOUT ANY WARRANTY; without even the implied warranty of | 12 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
diff --git a/nt/cmdproxy.c b/nt/cmdproxy.c index 4ca533b7ef9..411a409baca 100644 --- a/nt/cmdproxy.c +++ b/nt/cmdproxy.c | |||
| @@ -16,8 +16,8 @@ This file is part of GNU Emacs. | |||
| 16 | 16 | ||
| 17 | GNU Emacs is free software: you can redistribute it and/or modify | 17 | GNU Emacs is free software: you can redistribute it and/or modify |
| 18 | it under the terms of the GNU General Public License as published by | 18 | it under the terms of the GNU General Public License as published by |
| 19 | the Free Software Foundation, either version 3 of the License, or | 19 | the Free Software Foundation, either version 3 of the License, or (at |
| 20 | (at your option) any later version. | 20 | your option) any later version. |
| 21 | 21 | ||
| 22 | GNU Emacs is distributed in the hope that it will be useful, | 22 | GNU Emacs is distributed in the hope that it will be useful, |
| 23 | but WITHOUT ANY WARRANTY; without even the implied warranty of | 23 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
diff --git a/nt/ddeclient.c b/nt/ddeclient.c index f15c18855ca..7bbbdb0f48b 100644 --- a/nt/ddeclient.c +++ b/nt/ddeclient.c | |||
| @@ -5,8 +5,8 @@ This file is part of GNU Emacs. | |||
| 5 | 5 | ||
| 6 | GNU Emacs is free software: you can redistribute it and/or modify | 6 | GNU Emacs is free software: you can redistribute it and/or modify |
| 7 | it under the terms of the GNU General Public License as published by | 7 | it under the terms of the GNU General Public License as published by |
| 8 | the Free Software Foundation, either version 3 of the License, or | 8 | the Free Software Foundation, either version 3 of the License, or (at |
| 9 | (at your option) any later version. | 9 | your option) any later version. |
| 10 | 10 | ||
| 11 | GNU Emacs is distributed in the hope that it will be useful, | 11 | GNU Emacs is distributed in the hope that it will be useful, |
| 12 | but WITHOUT ANY WARRANTY; without even the implied warranty of | 12 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
| @@ -70,4 +70,3 @@ main (int argc, char *argv[]) | |||
| 70 | 70 | ||
| 71 | return (0); | 71 | return (0); |
| 72 | } | 72 | } |
| 73 | |||
diff --git a/nt/inc/grp.h b/nt/inc/grp.h index c4413961d5a..903fda9b3e5 100644 --- a/nt/inc/grp.h +++ b/nt/inc/grp.h | |||
| @@ -6,8 +6,8 @@ This file is part of GNU Emacs. | |||
| 6 | 6 | ||
| 7 | GNU Emacs is free software: you can redistribute it and/or modify | 7 | GNU Emacs is free software: you can redistribute it and/or modify |
| 8 | it under the terms of the GNU General Public License as published by | 8 | it under the terms of the GNU General Public License as published by |
| 9 | the Free Software Foundation, either version 3 of the License, or | 9 | the Free Software Foundation, either version 3 of the License, or (at |
| 10 | (at your option) any later version. | 10 | your option) any later version. |
| 11 | 11 | ||
| 12 | GNU Emacs is distributed in the hope that it will be useful, | 12 | GNU Emacs is distributed in the hope that it will be useful, |
| 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of | 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
| @@ -34,4 +34,3 @@ extern unsigned getegid (void); | |||
| 34 | extern struct group *getgrgid(gid_t); | 34 | extern struct group *getgrgid(gid_t); |
| 35 | 35 | ||
| 36 | #endif /* _GRP_H */ | 36 | #endif /* _GRP_H */ |
| 37 | |||
diff --git a/nt/inc/inttypes.h b/nt/inc/inttypes.h index 9abd55daeca..34d026c3e37 100644 --- a/nt/inc/inttypes.h +++ b/nt/inc/inttypes.h | |||
| @@ -6,8 +6,8 @@ This file is part of GNU Emacs. | |||
| 6 | 6 | ||
| 7 | GNU Emacs is free software: you can redistribute it and/or modify | 7 | GNU Emacs is free software: you can redistribute it and/or modify |
| 8 | it under the terms of the GNU General Public License as published by | 8 | it under the terms of the GNU General Public License as published by |
| 9 | the Free Software Foundation, either version 3 of the License, or | 9 | the Free Software Foundation, either version 3 of the License, or (at |
| 10 | (at your option) any later version. | 10 | your option) any later version. |
| 11 | 11 | ||
| 12 | GNU Emacs is distributed in the hope that it will be useful, | 12 | GNU Emacs is distributed in the hope that it will be useful, |
| 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of | 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
diff --git a/nt/inc/langinfo.h b/nt/inc/langinfo.h index 646c8cadd12..1532eaa4d1d 100644 --- a/nt/inc/langinfo.h +++ b/nt/inc/langinfo.h | |||
| @@ -6,8 +6,8 @@ This file is part of GNU Emacs. | |||
| 6 | 6 | ||
| 7 | GNU Emacs is free software: you can redistribute it and/or modify | 7 | GNU Emacs is free software: you can redistribute it and/or modify |
| 8 | it under the terms of the GNU General Public License as published by | 8 | it under the terms of the GNU General Public License as published by |
| 9 | the Free Software Foundation, either version 3 of the License, or | 9 | the Free Software Foundation, either version 3 of the License, or (at |
| 10 | (at your option) any later version. | 10 | your option) any later version. |
| 11 | 11 | ||
| 12 | GNU Emacs is distributed in the hope that it will be useful, | 12 | GNU Emacs is distributed in the hope that it will be useful, |
| 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of | 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
| @@ -58,4 +58,3 @@ enum { | |||
| 58 | extern char *nl_langinfo (nl_item); | 58 | extern char *nl_langinfo (nl_item); |
| 59 | 59 | ||
| 60 | #endif /* _LANGINFO_H */ | 60 | #endif /* _LANGINFO_H */ |
| 61 | |||
diff --git a/nt/inc/ms-w32.h b/nt/inc/ms-w32.h index a37510e7457..d1534336c49 100644 --- a/nt/inc/ms-w32.h +++ b/nt/inc/ms-w32.h | |||
| @@ -6,8 +6,8 @@ This file is part of GNU Emacs. | |||
| 6 | 6 | ||
| 7 | GNU Emacs is free software: you can redistribute it and/or modify | 7 | GNU Emacs is free software: you can redistribute it and/or modify |
| 8 | it under the terms of the GNU General Public License as published by | 8 | it under the terms of the GNU General Public License as published by |
| 9 | the Free Software Foundation, either version 3 of the License, or | 9 | the Free Software Foundation, either version 3 of the License, or (at |
| 10 | (at your option) any later version. | 10 | your option) any later version. |
| 11 | 11 | ||
| 12 | GNU Emacs is distributed in the hope that it will be useful, | 12 | GNU Emacs is distributed in the hope that it will be useful, |
| 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of | 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
diff --git a/nt/inc/nl_types.h b/nt/inc/nl_types.h index 6b22e766b60..e4d314ceedd 100644 --- a/nt/inc/nl_types.h +++ b/nt/inc/nl_types.h | |||
| @@ -6,8 +6,8 @@ This file is part of GNU Emacs. | |||
| 6 | 6 | ||
| 7 | GNU Emacs is free software: you can redistribute it and/or modify | 7 | GNU Emacs is free software: you can redistribute it and/or modify |
| 8 | it under the terms of the GNU General Public License as published by | 8 | it under the terms of the GNU General Public License as published by |
| 9 | the Free Software Foundation, either version 3 of the License, or | 9 | the Free Software Foundation, either version 3 of the License, or (at |
| 10 | (at your option) any later version. | 10 | your option) any later version. |
| 11 | 11 | ||
| 12 | GNU Emacs is distributed in the hope that it will be useful, | 12 | GNU Emacs is distributed in the hope that it will be useful, |
| 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of | 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
diff --git a/nt/inc/stdint.h b/nt/inc/stdint.h index adc6a1e2f2e..bb067f4418a 100644 --- a/nt/inc/stdint.h +++ b/nt/inc/stdint.h | |||
| @@ -6,8 +6,8 @@ This file is part of GNU Emacs. | |||
| 6 | 6 | ||
| 7 | GNU Emacs is free software: you can redistribute it and/or modify | 7 | GNU Emacs is free software: you can redistribute it and/or modify |
| 8 | it under the terms of the GNU General Public License as published by | 8 | it under the terms of the GNU General Public License as published by |
| 9 | the Free Software Foundation, either version 3 of the License, or | 9 | the Free Software Foundation, either version 3 of the License, or (at |
| 10 | (at your option) any later version. | 10 | your option) any later version. |
| 11 | 11 | ||
| 12 | GNU Emacs is distributed in the hope that it will be useful, | 12 | GNU Emacs is distributed in the hope that it will be useful, |
| 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of | 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
diff --git a/nt/inc/sys/socket.h b/nt/inc/sys/socket.h index d7ed92d6158..ad40fc9a231 100644 --- a/nt/inc/sys/socket.h +++ b/nt/inc/sys/socket.h | |||
| @@ -4,8 +4,8 @@ This file is part of GNU Emacs. | |||
| 4 | 4 | ||
| 5 | GNU Emacs is free software: you can redistribute it and/or modify | 5 | GNU Emacs is free software: you can redistribute it and/or modify |
| 6 | it under the terms of the GNU General Public License as published by | 6 | it under the terms of the GNU General Public License as published by |
| 7 | the Free Software Foundation, either version 3 of the License, or | 7 | the Free Software Foundation, either version 3 of the License, or (at |
| 8 | (at your option) any later version. | 8 | your option) any later version. |
| 9 | 9 | ||
| 10 | GNU Emacs is distributed in the hope that it will be useful, | 10 | GNU Emacs is distributed in the hope that it will be useful, |
| 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of | 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
diff --git a/nt/inc/sys/stat.h b/nt/inc/sys/stat.h index f21086cbf93..45bc2ea1e0c 100644 --- a/nt/inc/sys/stat.h +++ b/nt/inc/sys/stat.h | |||
| @@ -7,8 +7,8 @@ This file is part of GNU Emacs. | |||
| 7 | 7 | ||
| 8 | GNU Emacs is free software: you can redistribute it and/or modify | 8 | GNU Emacs is free software: you can redistribute it and/or modify |
| 9 | it under the terms of the GNU General Public License as published by | 9 | it under the terms of the GNU General Public License as published by |
| 10 | the Free Software Foundation, either version 3 of the License, or | 10 | the Free Software Foundation, either version 3 of the License, or (at |
| 11 | (at your option) any later version. | 11 | your option) any later version. |
| 12 | 12 | ||
| 13 | GNU Emacs is distributed in the hope that it will be useful, | 13 | GNU Emacs is distributed in the hope that it will be useful, |
| 14 | but WITHOUT ANY WARRANTY; without even the implied warranty of | 14 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
diff --git a/nt/inc/sys/wait.h b/nt/inc/sys/wait.h index 8a77e9881cb..46dae494997 100644 --- a/nt/inc/sys/wait.h +++ b/nt/inc/sys/wait.h | |||
| @@ -6,8 +6,8 @@ This file is part of GNU Emacs. | |||
| 6 | 6 | ||
| 7 | GNU Emacs is free software: you can redistribute it and/or modify | 7 | GNU Emacs is free software: you can redistribute it and/or modify |
| 8 | it under the terms of the GNU General Public License as published by | 8 | it under the terms of the GNU General Public License as published by |
| 9 | the Free Software Foundation, either version 3 of the License, or | 9 | the Free Software Foundation, either version 3 of the License, or (at |
| 10 | (at your option) any later version. | 10 | your option) any later version. |
| 11 | 11 | ||
| 12 | GNU Emacs is distributed in the hope that it will be useful, | 12 | GNU Emacs is distributed in the hope that it will be useful, |
| 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of | 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
diff --git a/nt/preprep.c b/nt/preprep.c index 303e2ef0a0c..491a93ba3b0 100644 --- a/nt/preprep.c +++ b/nt/preprep.c | |||
| @@ -5,8 +5,8 @@ This file is part of GNU Emacs. | |||
| 5 | 5 | ||
| 6 | GNU Emacs is free software: you can redistribute it and/or modify | 6 | GNU Emacs is free software: you can redistribute it and/or modify |
| 7 | it under the terms of the GNU General Public License as published by | 7 | it under the terms of the GNU General Public License as published by |
| 8 | the Free Software Foundation, either version 3 of the License, or | 8 | the Free Software Foundation, either version 3 of the License, or (at |
| 9 | (at your option) any later version. | 9 | your option) any later version. |
| 10 | 10 | ||
| 11 | GNU Emacs is distributed in the hope that it will be useful, | 11 | GNU Emacs is distributed in the hope that it will be useful, |
| 12 | but WITHOUT ANY WARRANTY; without even the implied warranty of | 12 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
| @@ -34,11 +34,10 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. | |||
| 34 | /* Include relevant definitions from IMAGEHLP.H, which can be found | 34 | /* Include relevant definitions from IMAGEHLP.H, which can be found |
| 35 | in \\win32sdk\mstools\samples\image\include\imagehlp.h. */ | 35 | in \\win32sdk\mstools\samples\image\include\imagehlp.h. */ |
| 36 | 36 | ||
| 37 | PIMAGE_NT_HEADERS | 37 | PIMAGE_NT_HEADERS (__stdcall * pfnCheckSumMappedFile) (LPVOID BaseAddress, |
| 38 | (__stdcall * pfnCheckSumMappedFile) (LPVOID BaseAddress, | 38 | DWORD_PTR FileLength, |
| 39 | DWORD_PTR FileLength, | 39 | PDWORD_PTR HeaderSum, |
| 40 | PDWORD_PTR HeaderSum, | 40 | PDWORD_PTR CheckSum); |
| 41 | PDWORD_PTR CheckSum); | ||
| 42 | 41 | ||
| 43 | #undef min | 42 | #undef min |
| 44 | #undef max | 43 | #undef max |
diff --git a/nt/runemacs.c b/nt/runemacs.c index 2685b25c30d..b5e16c0304f 100644 --- a/nt/runemacs.c +++ b/nt/runemacs.c | |||
| @@ -6,8 +6,8 @@ This file is part of GNU Emacs. | |||
| 6 | 6 | ||
| 7 | GNU Emacs is free software: you can redistribute it and/or modify | 7 | GNU Emacs is free software: you can redistribute it and/or modify |
| 8 | it under the terms of the GNU General Public License as published by | 8 | it under the terms of the GNU General Public License as published by |
| 9 | the Free Software Foundation, either version 3 of the License, or | 9 | the Free Software Foundation, either version 3 of the License, or (at |
| 10 | (at your option) any later version. | 10 | your option) any later version. |
| 11 | 11 | ||
| 12 | GNU Emacs is distributed in the hope that it will be useful, | 12 | GNU Emacs is distributed in the hope that it will be useful, |
| 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of | 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of |