This is the mail archive of the newlib-cvs@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]

[newlib-cygwin] Fix SYNPOSIS prototypes for iconv functions


https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=fdb73a8e437b851bce872a0ad7056580045b5bc6

commit fdb73a8e437b851bce872a0ad7056580045b5bc6
Author: Jon TURNEY <jon.turney@dronecode.org.uk>
Date:   Tue Jul 21 13:46:46 2015 +0100

    Fix SYNPOSIS prototypes for iconv functions
    
    Terminate all protoypes with a semicolon.
    
    Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>

Diff:
---
 newlib/libc/iconv/lib/iconv.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/newlib/libc/iconv/lib/iconv.c b/newlib/libc/iconv/lib/iconv.c
index f6bf544..8214a78 100644
--- a/newlib/libc/iconv/lib/iconv.c
+++ b/newlib/libc/iconv/lib/iconv.c
@@ -48,7 +48,7 @@ ANSI_SYNOPSIS
         size_t iconv (iconv_t <[cd]>, char **restrict <[inbuf]>, 
 	              size_t *restrict <[inbytesleft]>, 
 		      char **restrict <[outbuf]>, 
-                      size_t *restrict <[outbytesleft]>),
+                      size_t *restrict <[outbytesleft]>);
 
 	iconv_t _iconv_open_r (struct _reent *<[rptr]>, 
 			       const char *<[to]>, const char *<[from]>);
@@ -56,11 +56,11 @@ ANSI_SYNOPSIS
         size_t _iconv_r (struct _reent *<[rptr]>,
 			 iconv_t <[cd]>, const char **<[inbuf]>, 
 	                 size_t *<[inbytesleft]>, 
-		         char **<[outbuf]>, size_t *<[outbytesleft]>),
+		         char **<[outbuf]>, size_t *<[outbytesleft]>);
 
 TRAD_SYNOPSIS
 	#include <iconv.h>
-        size_t iconv (<[cd]>, <[in]>, <[inleft]>, <[out]>, <[outleft]>)
+        size_t iconv (<[cd]>, <[in]>, <[inleft]>, <[out]>, <[outleft]>);
 	iconv_t <[cd]>;
 	char **<[in]>;
 	size_t *<[inleft]>; 
@@ -77,7 +77,7 @@ TRAD_SYNOPSIS
 	iconv_t <[cd]>;
 
 	#include <iconv.h>
-        size_t _iconv_r (<[rptr]>, <[cd]>, <[in]>, <[inleft]>, <[out]>, <[outleft]>)
+        size_t _iconv_r (<[rptr]>, <[cd]>, <[in]>, <[inleft]>, <[out]>, <[outleft]>);
 	struct _reent *<[rptr]>;
 	iconv_t <[cd]>;
 	const char **<[in]>;


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