iconv.c (219019) | iconv.c (250938) |
---|---|
1/* $FreeBSD: head/usr.bin/iconv/iconv.c 219019 2011-02-25 00:04:39Z gabor $ */ | 1/* $FreeBSD: head/usr.bin/iconv/iconv.c 250938 2013-05-23 18:07:01Z ed $ */ |
2/* $NetBSD: iconv.c,v 1.16 2009/02/20 15:28:21 yamt 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 --- 32 unchanged lines hidden (view full) --- 42#include <unistd.h> 43 44static unsigned long long invalids; 45 46static void do_conv(FILE *, const char *, const char *, bool, bool); 47static int do_list(unsigned int, const char * const *, void *); 48static void usage(void); 49 | 2/* $NetBSD: iconv.c,v 1.16 2009/02/20 15:28:21 yamt 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 --- 32 unchanged lines hidden (view full) --- 42#include <unistd.h> 43 44static unsigned long long invalids; 45 46static void do_conv(FILE *, const char *, const char *, bool, bool); 47static int do_list(unsigned int, const char * const *, void *); 48static void usage(void); 49 |
50struct option long_options[] = 51{ | 50static struct option long_options[] = { |
52 {"from-code", required_argument, NULL, 'f'}, 53 {"list", no_argument, NULL, 'l'}, 54 {"silent", no_argument, NULL, 's'}, 55 {"to-code", required_argument, NULL, 't'}, 56 {NULL, no_argument, NULL, 0} 57}; 58 59static void --- 161 unchanged lines hidden --- | 51 {"from-code", required_argument, NULL, 'f'}, 52 {"list", no_argument, NULL, 'l'}, 53 {"silent", no_argument, NULL, 's'}, 54 {"to-code", required_argument, NULL, 't'}, 55 {NULL, no_argument, NULL, 0} 56}; 57 58static void --- 161 unchanged lines hidden --- |