mktemp.c (4d846d260e2b9a3d4d0a701462568268cbfe7a5b) mktemp.c (1a7ac2bd24c1763b0d32e23d9c70308fbc24b07a)
1/*-
2 * SPDX-License-Identifier: BSD-2-Clause
3 *
4 * Copyright (c) 1994, 1995, 1996, 1998 Peter Wemm <peter@netplex.com.au>
5 * All rights reserved.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions

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

45#include <string.h>
46#include <unistd.h>
47
48#ifndef lint
49static const char rcsid[] =
50 "$FreeBSD$";
51#endif /* not lint */
52
1/*-
2 * SPDX-License-Identifier: BSD-2-Clause
3 *
4 * Copyright (c) 1994, 1995, 1996, 1998 Peter Wemm <peter@netplex.com.au>
5 * All rights reserved.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions

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

45#include <string.h>
46#include <unistd.h>
47
48#ifndef lint
49static const char rcsid[] =
50 "$FreeBSD$";
51#endif /* not lint */
52
53static void usage(void);
53static void usage(void) __dead2;
54
55static const struct option long_opts[] = {
56 {"directory", no_argument, NULL, 'd'},
57 {"tmpdir", optional_argument, NULL, 'p'},
58 {"quiet", no_argument, NULL, 'q'},
59 {"dry-run", no_argument, NULL, 'u'},
60 {NULL, no_argument, NULL, 0},
61};

--- 147 unchanged lines hidden ---
54
55static const struct option long_opts[] = {
56 {"directory", no_argument, NULL, 'd'},
57 {"tmpdir", optional_argument, NULL, 'p'},
58 {"quiet", no_argument, NULL, 'q'},
59 {"dry-run", no_argument, NULL, 'u'},
60 {NULL, no_argument, NULL, 0},
61};

--- 147 unchanged lines hidden ---