rev.c (200420) | rev.c (200462) |
---|---|
1/*- 2 * Copyright (c) 1987, 1992, 1993 3 * The Regents of the University of California. 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 --- 30 unchanged lines hidden (view full) --- 39 40#if 0 41#ifndef lint 42static char sccsid[] = "@(#)rev.c 8.3 (Berkeley) 5/4/95"; 43#endif /* not lint */ 44#endif 45 46#include <sys/cdefs.h> | 1/*- 2 * Copyright (c) 1987, 1992, 1993 3 * The Regents of the University of California. 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 --- 30 unchanged lines hidden (view full) --- 39 40#if 0 41#ifndef lint 42static char sccsid[] = "@(#)rev.c 8.3 (Berkeley) 5/4/95"; 43#endif /* not lint */ 44#endif 45 46#include <sys/cdefs.h> |
47__FBSDID("$FreeBSD: head/usr.bin/rev/rev.c 200420 2009-12-11 23:35:38Z delphij $"); | 47__FBSDID("$FreeBSD: head/usr.bin/rev/rev.c 200462 2009-12-13 03:14:06Z delphij $"); |
48 49#include <sys/types.h> 50 51#include <err.h> | 48 49#include <sys/types.h> 50 51#include <err.h> |
52#include <errno.h> |
|
52#include <locale.h> 53#include <stdio.h> 54#include <stdlib.h> | 53#include <locale.h> 54#include <stdio.h> 55#include <stdlib.h> |
56#include <string.h> |
|
55#include <unistd.h> 56#include <wchar.h> 57 58static void usage(void); 59 60int 61main(int argc, char *argv[]) 62{ --- 54 unchanged lines hidden --- | 57#include <unistd.h> 58#include <wchar.h> 59 60static void usage(void); 61 62int 63main(int argc, char *argv[]) 64{ --- 54 unchanged lines hidden --- |