Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/games/adventure tag decl() __noinline, as inlining it would ...
details: https://anonhg.NetBSD.org/src/rev/113dd088bad1
branches: trunk
changeset: 327972:113dd088bad1
user: dholland <dholland%NetBSD.org@localhost>
date: Sat Mar 22 20:07:05 2014 +0000
description:
tag decl() __noinline, as inlining it would defeat its purpose
(which is to not have interesting string literals appear in the
compiled binary)
diffstat:
games/adventure/init.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r c0e197dfdb93 -r 113dd088bad1 games/adventure/init.c
--- a/games/adventure/init.c Sat Mar 22 19:52:21 2014 +0000
+++ b/games/adventure/init.c Sat Mar 22 20:07:05 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: init.c,v 1.20 2011/08/31 16:24:55 plunky Exp $ */
+/* $NetBSD: init.c,v 1.21 2014/03/22 20:07:05 dholland Exp $ */
/*-
* Copyright (c) 1993
@@ -39,7 +39,7 @@
#if 0
static char sccsid[] = "@(#)init.c 8.1 (Berkeley) 6/2/93";
#else
-__RCSID("$NetBSD: init.c,v 1.20 2011/08/31 16:24:55 plunky Exp $");
+__RCSID("$NetBSD: init.c,v 1.21 2014/03/22 20:07:05 dholland Exp $");
#endif
#endif /* not lint */
@@ -137,7 +137,7 @@
poof();
}
-char *
+__noinline char *
decr(int a, int b, int c, int d, int e)
{
static char buf[6];
Home |
Main Index |
Thread Index |
Old Index