summaryrefslogtreecommitdiffstats
path: root/contrib/sendmail/libsm/stdio.c
diff options
context:
space:
mode:
authorgshapiro <gshapiro@FreeBSD.org>2005-02-14 02:30:00 +0000
committergshapiro <gshapiro@FreeBSD.org>2005-02-14 02:30:00 +0000
commit9883351c45502bc6aec878ba11d8ef5fe1843397 (patch)
treed9cfa9f19110fa167a0fec9f07c6fcfacd77aafb /contrib/sendmail/libsm/stdio.c
parent1fc446a819a244515d9461fa50d34ee191414d6f (diff)
downloadFreeBSD-src-9883351c45502bc6aec878ba11d8ef5fe1843397.zip
FreeBSD-src-9883351c45502bc6aec878ba11d8ef5fe1843397.tar.gz
Import sendmail 8.13.3
Diffstat (limited to 'contrib/sendmail/libsm/stdio.c')
-rw-r--r--contrib/sendmail/libsm/stdio.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/contrib/sendmail/libsm/stdio.c b/contrib/sendmail/libsm/stdio.c
index 0df98ab..345a62c 100644
--- a/contrib/sendmail/libsm/stdio.c
+++ b/contrib/sendmail/libsm/stdio.c
@@ -13,7 +13,7 @@
*/
#include <sm/gen.h>
-SM_RCSID("@(#)$Id: stdio.c,v 1.68 2004/03/03 19:20:29 ca Exp $")
+SM_RCSID("@(#)$Id: stdio.c,v 1.69 2004/08/03 20:46:34 ca Exp $")
#include <unistd.h>
#include <errno.h>
#include <fcntl.h>
@@ -29,6 +29,9 @@ SM_RCSID("@(#)$Id: stdio.c,v 1.68 2004/03/03 19:20:29 ca Exp $")
#include <sm/fdset.h>
#include "local.h"
+static int sm_stdsetmode __P((SM_FILE_T *, const int *));
+static int sm_stdgetmode __P((SM_FILE_T *, int *));
+
/*
** Overall:
** Small standard I/O/seek/close functions.
@@ -260,7 +263,7 @@ sm_stdsetmode(fp, mode)
** Success: external mode value
*/
-int
+static int
sm_stdgetmode(fp, mode)
SM_FILE_T *fp;
int *mode;
OpenPOWER on IntegriCloud