summaryrefslogtreecommitdiff
path: root/src/system.h
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2006-11-16 19:51:23 +0100
committerJim Meyering <jim@meyering.net>2006-11-16 19:51:23 +0100
commit1a0333565f1a89d87b36e7a5c83bac9c145a9916 (patch)
treedff547390d17bf667611e211d6a385ba732d730a /src/system.h
parenta73fdeb2ce0a1574ec84d7dd7f670217088a818c (diff)
downloadcoreutils-1a0333565f1a89d87b36e7a5c83bac9c145a9916.tar.xz
* bootstrap.conf (gnulib_modules): Add sys_stat, since we use it directly too.
* lib/.cvsignore, lib/.gitignore: Add root-dev-ino.c, root-dev-ino.h. * m4/.cvsignore, m4/.gitignore: Add root-dev-ino.m4. * src/ls.c (DIRED_FPUTS_LITERAL, PUSH_CURRENT_DIRED_POS): Omit unnecessary parenthesization of args. * src/od.c (EQUAL_BLOCKS): Likewise. * src/system.h (STREQ, ASSIGN_STRDUPA): Likewise.
Diffstat (limited to 'src/system.h')
-rw-r--r--src/system.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/system.h b/src/system.h
index edb3edecd..9cc144c76 100644
--- a/src/system.h
+++ b/src/system.h
@@ -293,7 +293,7 @@ select_plural (uintmax_t n)
return (n <= ULONG_MAX ? n : n % PLURAL_REDUCER + PLURAL_REDUCER);
}
-#define STREQ(a, b) (strcmp ((a), (b)) == 0)
+#define STREQ(a, b) (strcmp (a, b) == 0)
#if !HAVE_DECL_FREE
void free ();
@@ -506,7 +506,7 @@ enum
const char *s_ = (S); \
size_t len_ = strlen (s_) + 1; \
char *tmp_dest_ = alloca (len_); \
- DEST = memcpy (tmp_dest_, (s_), len_); \
+ DEST = memcpy (tmp_dest_, s_, len_); \
} \
while (0)
#endif