summaryrefslogtreecommitdiff
path: root/src/echo.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1992-11-12 04:14:54 +0000
committerJim Meyering <jim@meyering.net>1992-11-12 04:14:54 +0000
commit88b70560464afbc44c6233abbb7375fd5c464124 (patch)
tree8cd20ebb560f9ec40e0c17474f507adb5269a8c3 /src/echo.c
parent5fc2263354892487337ab870520c9b682e8a893e (diff)
downloadcoreutils-88b70560464afbc44c6233abbb7375fd5c464124.tar.xz
all files: make most variables static and const when possible.
declare lots of functions static.
Diffstat (limited to 'src/echo.c')
-rw-r--r--src/echo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/echo.c b/src/echo.c
index cae62ce8d..b8c4e58d1 100644
--- a/src/echo.c
+++ b/src/echo.c
@@ -126,7 +126,7 @@ just_echo:
register char *s = argv[0];
register int c;
- while (c = *s++)
+ while ((c = *s++))
{
if (c == '\\' && *s)
{