Deleted Added
full compact
citrus_iconv_none.c (219019) citrus_iconv_none.c (252583)
1/* $FreeBSD: head/lib/libiconv_modules/iconv_none/citrus_iconv_none.c 219019 2011-02-25 00:04:39Z gabor $ */
1/* $FreeBSD: head/lib/libiconv_modules/iconv_none/citrus_iconv_none.c 252583 2013-07-03 18:27:45Z peter $ */
2/* $NetBSD: citrus_iconv_none.c,v 1.2 2003/07/01 09:42:16 tshiozak Exp $ */
3
4/*-
5 * Copyright (c)2003 Citrus Project,
6 * All rights reserved.
7 *
8 * Redistribution and use in source and binary forms, with or without
9 * modification, are permitted provided that the following conditions

--- 82 unchanged lines hidden (view full) ---

92_citrus_iconv_none_iconv_uninit_context(struct _citrus_iconv *cv __unused)
93{
94
95}
96
97static int
98/*ARGSUSED*/
99_citrus_iconv_none_iconv_convert(struct _citrus_iconv * __restrict ci __unused,
2/* $NetBSD: citrus_iconv_none.c,v 1.2 2003/07/01 09:42:16 tshiozak Exp $ */
3
4/*-
5 * Copyright (c)2003 Citrus Project,
6 * All rights reserved.
7 *
8 * Redistribution and use in source and binary forms, with or without
9 * modification, are permitted provided that the following conditions

--- 82 unchanged lines hidden (view full) ---

92_citrus_iconv_none_iconv_uninit_context(struct _citrus_iconv *cv __unused)
93{
94
95}
96
97static int
98/*ARGSUSED*/
99_citrus_iconv_none_iconv_convert(struct _citrus_iconv * __restrict ci __unused,
100 char * __restrict * __restrict in, size_t * __restrict inbytes,
100 const char * __restrict * __restrict in, size_t * __restrict inbytes,
101 char * __restrict * __restrict out, size_t * __restrict outbytes,
102 uint32_t flags __unused, size_t * __restrict invalids)
103{
104 size_t len;
105 int e2big;
106
107 if ((in == NULL) || (out == NULL) || (inbytes == NULL))
108 return (0);

--- 19 unchanged lines hidden ---
101 char * __restrict * __restrict out, size_t * __restrict outbytes,
102 uint32_t flags __unused, size_t * __restrict invalids)
103{
104 size_t len;
105 int e2big;
106
107 if ((in == NULL) || (out == NULL) || (inbytes == NULL))
108 return (0);

--- 19 unchanged lines hidden ---