aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib-src/etags.c4
-rw-r--r--lib-src/profile.c4
-rw-r--r--src/bytecode.c2
-rw-r--r--src/menu.c2
4 files changed, 6 insertions, 6 deletions
diff --git a/lib-src/etags.c b/lib-src/etags.c
index e5d76d4c591..6a722e0641c 100644
--- a/lib-src/etags.c
+++ b/lib-src/etags.c
@@ -1330,7 +1330,7 @@ main (int argc, char **argv)
1330 pfatal (tagfile); 1330 pfatal (tagfile);
1331 } 1331 }
1332 1332
1333 exit (EXIT_SUCCESS); 1333 return EXIT_SUCCESS;
1334 } 1334 }
1335 1335
1336 /* From here on, we are in (CTAGS && !cxref_style) */ 1336 /* From here on, we are in (CTAGS && !cxref_style) */
@@ -1383,7 +1383,7 @@ main (int argc, char **argv)
1383 z = stpcpy (z, tagfile); 1383 z = stpcpy (z, tagfile);
1384 *z++ = ' '; 1384 *z++ = ' ';
1385 strcpy (z, tagfile); 1385 strcpy (z, tagfile);
1386 exit (system (cmd)); 1386 return system (cmd);
1387 } 1387 }
1388 return EXIT_SUCCESS; 1388 return EXIT_SUCCESS;
1389} 1389}
diff --git a/lib-src/profile.c b/lib-src/profile.c
index edd36cafd37..cfee5b8608f 100644
--- a/lib-src/profile.c
+++ b/lib-src/profile.c
@@ -85,13 +85,13 @@ main (void)
85 puts (get_time ()); 85 puts (get_time ());
86 break; 86 break;
87 case 'q': 87 case 'q':
88 exit (EXIT_SUCCESS); 88 return EXIT_SUCCESS;
89 } 89 }
90 /* Anything remaining on the line is ignored. */ 90 /* Anything remaining on the line is ignored. */
91 while (c != '\n' && c != EOF) 91 while (c != '\n' && c != EOF)
92 c = getchar (); 92 c = getchar ();
93 } 93 }
94 exit (EXIT_FAILURE); 94 return EXIT_FAILURE;
95} 95}
96 96
97 97
diff --git a/src/bytecode.c b/src/bytecode.c
index e2d8ab706c7..be39a81c5e9 100644
--- a/src/bytecode.c
+++ b/src/bytecode.c
@@ -46,7 +46,7 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
46 indirect threaded, using GCC's computed goto extension. This code, 46 indirect threaded, using GCC's computed goto extension. This code,
47 as currently implemented, is incompatible with BYTE_CODE_SAFE and 47 as currently implemented, is incompatible with BYTE_CODE_SAFE and
48 BYTE_CODE_METER. */ 48 BYTE_CODE_METER. */
49#if (defined __GNUC__ && !defined __STRICT_ANSI__ \ 49#if (defined __GNUC__ && !defined __STRICT_ANSI__ && !defined __CHKP__ \
50 && !BYTE_CODE_SAFE && !defined BYTE_CODE_METER) 50 && !BYTE_CODE_SAFE && !defined BYTE_CODE_METER)
51#define BYTE_CODE_THREADED 51#define BYTE_CODE_THREADED
52#endif 52#endif
diff --git a/src/menu.c b/src/menu.c
index 638810b36f8..80709679513 100644
--- a/src/menu.c
+++ b/src/menu.c
@@ -1540,7 +1540,7 @@ for instance using the window manager, then this produces a quit and
1540 1540
1541 /* Note that xw_popup_dialog can call menu code, so 1541 /* Note that xw_popup_dialog can call menu code, so
1542 Vmenu_updating_frame should be set (Bug#17891). */ 1542 Vmenu_updating_frame should be set (Bug#17891). */
1543 eassert (f && FRAME_LIVE_P (f)); 1543 eassume (f && FRAME_LIVE_P (f));
1544 XSETFRAME (Vmenu_updating_frame, f); 1544 XSETFRAME (Vmenu_updating_frame, f);
1545 1545
1546 /* Force a redisplay before showing the dialog. If a frame is created 1546 /* Force a redisplay before showing the dialog. If a frame is created