Deleted Added
sdiff udiff text old ( 252583 ) new ( 260003 )
full compact
1/* $FreeBSD: head/lib/libiconv_modules/EUCTW/citrus_euctw.c 260003 2013-12-28 13:49:48Z dim $ */
2/* $NetBSD: citrus_euctw.c,v 1.11 2008/06/14 16:01:07 tnozaki Exp $ */
3
4/*-
5 * Copyright (c)2002 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

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

131/*ARGSUSED*/
132_citrus_EUCTW_init_state(_EUCTWEncodingInfo * __restrict ei __unused,
133 _EUCTWState * __restrict s)
134{
135
136 memset(s, 0, sizeof(*s));
137}
138
139#if 0
140static __inline void
141/*ARGSUSED*/
142_citrus_EUCTW_pack_state(_EUCTWEncodingInfo * __restrict ei __unused,
143 void * __restrict pspriv, const _EUCTWState * __restrict s)
144{
145
146 memcpy(pspriv, (const void *)s, sizeof(*s));
147}
148
149static __inline void
150/*ARGSUSED*/
151_citrus_EUCTW_unpack_state(_EUCTWEncodingInfo * __restrict ei __unused,
152 _EUCTWState * __restrict s, const void * __restrict pspriv)
153{
154
155 memcpy((void *)s, pspriv, sizeof(*s));
156}
157#endif
158
159static int
160/*ARGSUSED*/
161_citrus_EUCTW_encoding_module_init(_EUCTWEncodingInfo * __restrict ei,
162 const void * __restrict var __unused, size_t lenvar __unused)
163{
164
165 memset((void *)ei, 0, sizeof(*ei));

--- 214 unchanged lines hidden ---