summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOtto Moerbeek <otto@cvs.openbsd.org>2004-07-01 18:25:49 +0000
committerOtto Moerbeek <otto@cvs.openbsd.org>2004-07-01 18:25:49 +0000
commit0405676ceb04ce85a6dbf0cb4187ecca4cdd1656 (patch)
tree8b6df9b1da46017b7464c87fd92efb9f219101d4
parent0c922cc2c28276924487216037e2951d00ac584f (diff)
setmode(3) returns void *, not mode_t *. ok millert@
-rw-r--r--bin/chmod/chmod.c6
-rw-r--r--bin/mkdir/mkdir.c6
-rw-r--r--usr.bin/find/function.c6
-rw-r--r--usr.bin/xinstall/xinstall.c6
-rw-r--r--usr.sbin/mtree/spec.c6
5 files changed, 15 insertions, 15 deletions
diff --git a/bin/chmod/chmod.c b/bin/chmod/chmod.c
index 1bbc1a93de3..cbb84bc30c8 100644
--- a/bin/chmod/chmod.c
+++ b/bin/chmod/chmod.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: chmod.c,v 1.17 2004/02/16 22:12:02 millert Exp $ */
+/* $OpenBSD: chmod.c,v 1.18 2004/07/01 18:25:47 otto Exp $ */
/* $NetBSD: chmod.c,v 1.12 1995/03/21 09:02:09 cgd Exp $ */
/*
@@ -40,7 +40,7 @@ static char copyright[] =
#if 0
static char sccsid[] = "@(#)chmod.c 8.8 (Berkeley) 4/1/94";
#else
-static char rcsid[] = "$OpenBSD: chmod.c,v 1.17 2004/02/16 22:12:02 millert Exp $";
+static char rcsid[] = "$OpenBSD: chmod.c,v 1.18 2004/07/01 18:25:47 otto Exp $";
#endif
#endif /* not lint */
@@ -71,7 +71,7 @@ main(int argc, char *argv[])
{
FTS *ftsp;
FTSENT *p;
- mode_t *set;
+ void *set;
long val;
int oct, omode;
int Hflag, Lflag, Pflag, Rflag, ch, fflag, fts_options, hflag, rval;
diff --git a/bin/mkdir/mkdir.c b/bin/mkdir/mkdir.c
index d4a6b4a99dd..9a446e10d48 100644
--- a/bin/mkdir/mkdir.c
+++ b/bin/mkdir/mkdir.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mkdir.c,v 1.16 2003/07/29 00:24:15 deraadt Exp $ */
+/* $OpenBSD: mkdir.c,v 1.17 2004/07/01 18:25:47 otto Exp $ */
/* $NetBSD: mkdir.c,v 1.14 1995/06/25 21:59:21 mycroft Exp $ */
/*
@@ -40,7 +40,7 @@ static char copyright[] =
#if 0
static char sccsid[] = "@(#)mkdir.c 8.2 (Berkeley) 1/25/94";
#else
-static char rcsid[] = "$OpenBSD: mkdir.c,v 1.16 2003/07/29 00:24:15 deraadt Exp $";
+static char rcsid[] = "$OpenBSD: mkdir.c,v 1.17 2004/07/01 18:25:47 otto Exp $";
#endif
#endif /* not lint */
@@ -64,7 +64,7 @@ int
main(int argc, char *argv[])
{
int ch, exitval, pflag;
- mode_t *set;
+ void *set;
mode_t mode, dir_mode;
setlocale(LC_ALL, "");
diff --git a/usr.bin/find/function.c b/usr.bin/find/function.c
index 569b8d0a763..dbd4a37f044 100644
--- a/usr.bin/find/function.c
+++ b/usr.bin/find/function.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: function.c,v 1.28 2003/06/26 07:27:29 deraadt Exp $ */
+/* $OpenBSD: function.c,v 1.29 2004/07/01 18:25:47 otto Exp $ */
/*-
* Copyright (c) 1990, 1993
@@ -34,7 +34,7 @@
#ifndef lint
/*static char sccsid[] = "from: @(#)function.c 8.1 (Berkeley) 6/6/93";*/
-static char rcsid[] = "$OpenBSD: function.c,v 1.28 2003/06/26 07:27:29 deraadt Exp $";
+static char rcsid[] = "$OpenBSD: function.c,v 1.29 2004/07/01 18:25:47 otto Exp $";
#endif /* not lint */
#include <sys/param.h>
@@ -1197,7 +1197,7 @@ PLAN *
c_perm(char *perm, char ***ignored, int unused)
{
PLAN *new;
- mode_t *set;
+ void *set;
ftsoptions &= ~FTS_NOSTAT;
diff --git a/usr.bin/xinstall/xinstall.c b/usr.bin/xinstall/xinstall.c
index f919bd95fec..8d446094151 100644
--- a/usr.bin/xinstall/xinstall.c
+++ b/usr.bin/xinstall/xinstall.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: xinstall.c,v 1.40 2004/02/10 07:33:23 jmc Exp $ */
+/* $OpenBSD: xinstall.c,v 1.41 2004/07/01 18:25:48 otto Exp $ */
/* $NetBSD: xinstall.c,v 1.9 1995/12/20 10:25:17 jonathan Exp $ */
/*
@@ -40,7 +40,7 @@ static char copyright[] =
#if 0
static char sccsid[] = "@(#)xinstall.c 8.1 (Berkeley) 7/21/93";
#endif
-static char rcsid[] = "$OpenBSD: xinstall.c,v 1.40 2004/02/10 07:33:23 jmc Exp $";
+static char rcsid[] = "$OpenBSD: xinstall.c,v 1.41 2004/07/01 18:25:48 otto Exp $";
#endif /* not lint */
#include <sys/param.h>
@@ -93,7 +93,7 @@ int
main(int argc, char *argv[])
{
struct stat from_sb, to_sb;
- mode_t *set;
+ void *set;
u_int32_t fset;
u_int iflags;
int ch, no_target;
diff --git a/usr.sbin/mtree/spec.c b/usr.sbin/mtree/spec.c
index f6094c9ca2e..840316281c4 100644
--- a/usr.sbin/mtree/spec.c
+++ b/usr.sbin/mtree/spec.c
@@ -1,5 +1,5 @@
/* $NetBSD: spec.c,v 1.6 1995/03/07 21:12:12 cgd Exp $ */
-/* $OpenBSD: spec.c,v 1.19 2004/05/02 17:55:53 millert Exp $ */
+/* $OpenBSD: spec.c,v 1.20 2004/07/01 18:25:48 otto Exp $ */
/*-
* Copyright (c) 1989, 1993
@@ -34,7 +34,7 @@
#if 0
static const char sccsid[] = "@(#)spec.c 8.1 (Berkeley) 6/6/93";
#else
-static const char rcsid[] = "$OpenBSD: spec.c,v 1.19 2004/05/02 17:55:53 millert Exp $";
+static const char rcsid[] = "$OpenBSD: spec.c,v 1.20 2004/07/01 18:25:48 otto Exp $";
#endif
#endif /* not lint */
@@ -176,7 +176,7 @@ set(t, ip)
char *kw, *val = NULL;
struct group *gr;
struct passwd *pw;
- mode_t *m;
+ void *m;
int value;
u_int32_t fset, fclr;
char *ep;