lmessages.c (116274) | lmessages.c (116875) |
---|---|
1/* 2 * Copyright (c) 2001 Alexey Zelkin <phantom@FreeBSD.org> 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 11 unchanged lines hidden (view full) --- 20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24 * SUCH DAMAGE. 25 */ 26 27#include <sys/cdefs.h> | 1/* 2 * Copyright (c) 2001 Alexey Zelkin <phantom@FreeBSD.org> 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 11 unchanged lines hidden (view full) --- 20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24 * SUCH DAMAGE. 25 */ 26 27#include <sys/cdefs.h> |
28__FBSDID("$FreeBSD: head/lib/libc/locale/lmessages.c 116274 2003-06-13 00:14:07Z jkh $"); | 28__FBSDID("$FreeBSD: head/lib/libc/locale/lmessages.c 116875 2003-06-26 10:46:16Z phantom $"); |
29 30#include <stddef.h> 31 | 29 30#include <stddef.h> 31 |
32#include "lmessages.h" | |
33#include "ldpart.h" | 32#include "ldpart.h" |
33#include "lmessages.h" |
|
34 35#define LCMESSAGES_SIZE_FULL (sizeof(struct lc_messages_T) / sizeof(char *)) 36#define LCMESSAGES_SIZE_MIN \ 37 (offsetof(struct lc_messages_T, yesstr) / sizeof(char *)) 38 39static char empty[] = ""; 40 41static const struct lc_messages_T _C_messages_locale = { --- 50 unchanged lines hidden --- | 34 35#define LCMESSAGES_SIZE_FULL (sizeof(struct lc_messages_T) / sizeof(char *)) 36#define LCMESSAGES_SIZE_MIN \ 37 (offsetof(struct lc_messages_T, yesstr) / sizeof(char *)) 38 39static char empty[] = ""; 40 41static const struct lc_messages_T _C_messages_locale = { --- 50 unchanged lines hidden --- |