]> granicus.if.org Git - procps-ng/commitdiff
top: restored static to scat(), not needed in top_nls.c
authorJim Warner <james.warner@comcast.net>
Fri, 28 Oct 2011 15:49:06 +0000 (10:49 -0500)
committerCraig Small <csmall@enc.com.au>
Thu, 22 Dec 2011 12:48:05 +0000 (23:48 +1100)
top/top.c

index 614710c091c1f387f5710d92fedf30f41ce0c5e8..1e4d1a8bfc210a42e6a2bd0696a00f1cf2ec9b82 100644 (file)
--- 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;