This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Fwd: Re: patch v2 add restrict to string.h methods


Ping (;

-- TreÅÄ oryginalnej wiadomoÅci --
Temat: Re: patch v2 add restrict to string.h methods
Data: Sat, 03 Aug 2013 10:56:28 +0200
Nadawca: Freddie Chopin <freddie_chopin@op.pl>
Adresat: newlib@sourceware.org

W dniu 19.07.2013 16:17, Joel Sherrill pisze:
Attached is v3. OK this time?

Here's a patch that fixes building pdfs. With current code it fails with
"missing endgroup or stray {" or sth like that (sorry, don't have the
exact message right now).

Regards,
FCh



diff --git a/newlib/libc/string/strncat.c b/newlib/libc/string/strncat.c
index d31a030..2f5a061 100644
--- a/newlib/libc/string/strncat.c
+++ b/newlib/libc/string/strncat.c
@@ -7,7 +7,7 @@ INDEX
 
 ANSI_SYNOPSIS
 	#include <string.h>
-	char *strncat(char *<restrict [dst]>, const char *<restrict [src]>,
+	char *strncat(char *restrict <[dst]>, const char *restrict <[src]>,
                       size_t <[length]>);
 
 TRAD_SYNOPSIS


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]