Fixed recent staticizations. Some protypes for static functions were

left in headers and not staticized.
This commit is contained in:
Bruce Evans 1995-11-16 09:51:22 +00:00
parent 986f4ce75e
commit ff98689d2d
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=12325
4 changed files with 15 additions and 11 deletions

View File

@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)udp_usrreq.c 8.6 (Berkeley) 5/23/95
* $Id: udp_usrreq.c,v 1.14 1995/09/22 19:56:26 wollman Exp $
* $Id: udp_usrreq.c,v 1.15 1995/11/14 20:34:51 phk Exp $
*/
#include <sys/param.h>
@ -87,6 +87,8 @@ SYSCTL_STRUCT(_net_inet_udp, UDPCTL_STATS, stats, CTLFLAG_RD,
static struct sockaddr_in udp_in = { sizeof(udp_in), AF_INET };
static void udp_detach __P((struct inpcb *));
static int udp_output __P((struct inpcb *, struct mbuf *, struct mbuf *,
struct mbuf *));
static void udp_notify __P((struct inpcb *, int));
static struct mbuf *udp_saveopt __P((caddr_t, int, int));

View File

@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)udp_var.h 8.1 (Berkeley) 6/10/93
* $Id: udp_var.h,v 1.5 1995/04/09 01:29:31 davidg Exp $
* $Id: udp_var.h,v 1.6 1995/11/14 20:34:56 phk Exp $
*/
#ifndef _NETINET_UDP_VAR_H_
@ -95,8 +95,6 @@ extern struct udpstat udpstat;
void udp_ctlinput __P((int, struct sockaddr *, struct ip *));
void udp_init __P((void));
void udp_input __P((struct mbuf *, int));
int udp_output __P((struct inpcb *,
struct mbuf *, struct mbuf *, struct mbuf *));
int udp_usrreq __P((struct socket *,
int, struct mbuf *, struct mbuf *, struct mbuf *));
#endif

View File

@ -39,7 +39,7 @@
* from: Utah $Hdr: swap_pager.c 1.4 91/04/30$
*
* @(#)swap_pager.c 8.9 (Berkeley) 3/21/94
* $Id: swap_pager.c,v 1.48 1995/11/02 06:42:45 davidg Exp $
* $Id: swap_pager.c,v 1.49 1995/11/14 20:53:20 phk Exp $
*/
/*
@ -117,6 +117,14 @@ static struct pagerlst *swp_qs[] = {
/*
* pagerops for OBJT_SWAP - "swap pager".
*/
static vm_object_t
swap_pager_alloc __P((void *handle, vm_size_t size,
vm_prot_t prot, vm_offset_t offset));
static void swap_pager_dealloc __P((vm_object_t object));
static boolean_t
swap_pager_haspage __P((vm_object_t object, vm_offset_t offset,
int *before, int *after));
static void swap_pager_init __P((void));
struct pagerops swappagerops = {
swap_pager_init,
swap_pager_alloc,
@ -131,6 +139,7 @@ static int npendingio = NPENDINGIO;
static void swap_pager_finish();
int dmmin, dmmax;
static void swap_pager_iodone __P((struct buf *));
static inline void
swapsizecheck()

View File

@ -36,7 +36,7 @@
* SUCH DAMAGE.
*
* from: @(#)swap_pager.h 7.1 (Berkeley) 12/5/90
* $Id: swap_pager.h,v 1.9 1995/08/16 16:14:25 bde Exp $
* $Id: swap_pager.h,v 1.10 1995/10/07 19:02:52 davidg Exp $
*/
/*
@ -67,14 +67,9 @@ typedef struct swblock *sw_blk_t;
extern struct pagerlst swap_pager_un_object_list;
extern int swap_pager_full;
void swap_pager_init __P((void));
vm_object_t swap_pager_alloc __P((void *, vm_size_t, vm_prot_t, vm_offset_t));
void swap_pager_dealloc __P((vm_object_t));
int swap_pager_getpages __P((vm_object_t, vm_page_t *, int, int));
int swap_pager_putpages __P((vm_object_t, vm_page_t *, int, boolean_t, int *));
boolean_t swap_pager_haspage __P((vm_object_t, vm_offset_t, int *, int *));
void swap_pager_sync __P((void));
void swap_pager_iodone __P((struct buf *));
int swap_pager_swp_alloc __P((vm_object_t, int));
void swap_pager_copy __P((vm_object_t, vm_offset_t, vm_object_t, vm_offset_t, vm_offset_t));
void swap_pager_freespace __P((vm_object_t, vm_offset_t, vm_offset_t));