Deleted Added
full compact
citrus_big5.c (263986) citrus_big5.c (281550)
1/* $FreeBSD: head/lib/libiconv_modules/BIG5/citrus_big5.c 263986 2014-04-01 10:36:11Z tijl $ */
1/* $FreeBSD: head/lib/libiconv_modules/BIG5/citrus_big5.c 281550 2015-04-15 09:09:20Z tijl $ */
2/* $NetBSD: citrus_big5.c,v 1.13 2011/05/23 14:53:46 joerg Exp $ */
3
4/*-
5 * Copyright (c)2002, 2006 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

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

264
265 return (0);
266}
267
268static int
269/*ARGSUSED*/
270_citrus_BIG5_mbrtowc_priv(_BIG5EncodingInfo * __restrict ei,
271 wchar_t * __restrict pwc,
2/* $NetBSD: citrus_big5.c,v 1.13 2011/05/23 14:53:46 joerg Exp $ */
3
4/*-
5 * Copyright (c)2002, 2006 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

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

264
265 return (0);
266}
267
268static int
269/*ARGSUSED*/
270_citrus_BIG5_mbrtowc_priv(_BIG5EncodingInfo * __restrict ei,
271 wchar_t * __restrict pwc,
272 const char ** __restrict s, size_t n,
272 char ** __restrict s, size_t n,
273 _BIG5State * __restrict psenc,
274 size_t * __restrict nresult)
275{
276 wchar_t wchar;
273 _BIG5State * __restrict psenc,
274 size_t * __restrict nresult)
275{
276 wchar_t wchar;
277 const char *s0;
277 char *s0;
278 int c, chlenbak;
279
280 s0 = *s;
281
282 if (s0 == NULL) {
283 _citrus_BIG5_init_state(ei, psenc);
284 *nresult = 0;
285 return (0);

--- 173 unchanged lines hidden ---
278 int c, chlenbak;
279
280 s0 = *s;
281
282 if (s0 == NULL) {
283 _citrus_BIG5_init_state(ei, psenc);
284 *nresult = 0;
285 return (0);

--- 173 unchanged lines hidden ---