Deleted Added
full compact
expand.c (200420) expand.c (200462)
1/*
2 * Copyright (c) 1980, 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

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

38#endif /* not lint */
39
40#ifndef lint
41#if 0
42static char sccsid[] = "@(#)expand.c 8.1 (Berkeley) 6/9/93";
43#endif
44#endif /* not lint */
45#include <sys/cdefs.h>
1/*
2 * Copyright (c) 1980, 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

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

38#endif /* not lint */
39
40#ifndef lint
41#if 0
42static char sccsid[] = "@(#)expand.c 8.1 (Berkeley) 6/9/93";
43#endif
44#endif /* not lint */
45#include <sys/cdefs.h>
46__FBSDID("$FreeBSD: head/usr.bin/expand/expand.c 200420 2009-12-11 23:35:38Z delphij $");
46__FBSDID("$FreeBSD: head/usr.bin/expand/expand.c 200462 2009-12-13 03:14:06Z delphij $");
47
48#include <ctype.h>
49#include <err.h>
50#include <locale.h>
51#include <stdio.h>
52#include <stdlib.h>
53#include <unistd.h>
54#include <wchar.h>
47
48#include <ctype.h>
49#include <err.h>
50#include <locale.h>
51#include <stdio.h>
52#include <stdlib.h>
53#include <unistd.h>
54#include <wchar.h>
55#include <wctype.h>
55
56/*
57 * expand - expand tabs to equivalent spaces
58 */
59int nstops;
60int tabstops[100];
61
62static void getstops(char *);

--- 137 unchanged lines hidden ---
56
57/*
58 * expand - expand tabs to equivalent spaces
59 */
60int nstops;
61int tabstops[100];
62
63static void getstops(char *);

--- 137 unchanged lines hidden ---