summaryrefslogtreecommitdiff
path: root/ldso/include/dl-string.h
diff options
context:
space:
mode:
Diffstat (limited to 'ldso/include/dl-string.h')
-rw-r--r--ldso/include/dl-string.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/ldso/include/dl-string.h b/ldso/include/dl-string.h
index bf6997188..4a66161e0 100644
--- a/ldso/include/dl-string.h
+++ b/ldso/include/dl-string.h
@@ -103,7 +103,7 @@ static __always_inline char * _dl_strstr(const char *s1, const char *s2)
do {
if (!*p)
- return (char *) s1;;
+ return (char *) s1;
if (*p == *s) {
++p;
++s;
@@ -257,7 +257,7 @@ static __always_inline char * _dl_simple_ltoahex(char *local, unsigned long i)
/* On some (wierd) arches, none of this stuff works at all, so
* disable the whole lot... */
/* The same applies for ARM FDPIC at least for the moment. */
-#if defined(__mips__) || (__FDPIC__)
+#if defined(__mips__) || defined(__FDPIC__)
# define SEND_STDERR(X)
# define SEND_ADDRESS_STDERR(X, add_a_newline)