Deleted Added
full compact
basename.c (87628) basename.c (92920)
1/*-
2 * Copyright (c) 1991, 1993, 1994
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[] = "@(#)basename.c 8.4 (Berkeley) 5/4/95";
43#endif /* not lint */
44#endif
45
46#include <sys/cdefs.h>
1/*-
2 * Copyright (c) 1991, 1993, 1994
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[] = "@(#)basename.c 8.4 (Berkeley) 5/4/95";
43#endif /* not lint */
44#endif
45
46#include <sys/cdefs.h>
47__FBSDID("$FreeBSD: head/usr.bin/basename/basename.c 87628 2001-12-10 21:13:08Z dwmalone $");
47__FBSDID("$FreeBSD: head/usr.bin/basename/basename.c 92920 2002-03-22 01:22:50Z imp $");
48
49#include <err.h>
50#include <libgen.h>
51#include <stdio.h>
52#include <stdlib.h>
53#include <string.h>
54#include <unistd.h>
55
48
49#include <err.h>
50#include <libgen.h>
51#include <stdio.h>
52#include <stdlib.h>
53#include <string.h>
54#include <unistd.h>
55
56int main __P((int, char **));
57void usage __P((void));
56int main(int, char **);
57void usage(void);
58
59int
60main(argc, argv)
61 int argc;
62 char **argv;
63{
64 char *p, *q;
65 int ch;

--- 33 unchanged lines hidden ---
58
59int
60main(argc, argv)
61 int argc;
62 char **argv;
63{
64 char *p, *q;
65 int ch;

--- 33 unchanged lines hidden ---