From 3d1f46999579a82ea227e5494d1a6e109d9f56f0 Mon Sep 17 00:00:00 2001 From: Jim Warner Date: Fri, 28 Oct 2011 10:49:06 -0500 Subject: [PATCH] top: restored static to scat(), not needed in top_nls.c --- top/top.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/top/top.c b/top/top.c index 614710c0..1e4d1a8b 100644 --- a/top/top.c +++ b/top/top.c @@ -276,7 +276,7 @@ static const char *fmtmk (const char *fmts, ...) { /* * This guy is just our way of avoiding the overhead of the standard * strcat function (should the caller choose to participate) */ -inline char *scat (char *dst, const char *src) { +static inline char *scat (char *dst, const char *src) { while (*dst) dst++; while ((*(dst++) = *(src++))); return --dst;