Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/dist/am-utils/amd make functions static and add prototypes.



details:   https://anonhg.NetBSD.org/src/rev/e10c91963d61
branches:  trunk
changeset: 539950:e10c91963d61
user:      christos <christos%NetBSD.org@localhost>
date:      Fri Nov 29 23:08:32 2002 +0000

description:
make functions static and add prototypes.

diffstat:

 dist/am-utils/amd/amfs_auto.c |  8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diffs (36 lines):

diff -r 6c5eb0bd4d65 -r e10c91963d61 dist/am-utils/amd/amfs_auto.c
--- a/dist/am-utils/amd/amfs_auto.c     Fri Nov 29 23:06:22 2002 +0000
+++ b/dist/am-utils/amd/amfs_auto.c     Fri Nov 29 23:08:32 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: amfs_auto.c,v 1.1.1.5 2002/11/29 22:58:10 christos Exp $       */
+/*     $NetBSD: amfs_auto.c,v 1.2 2002/11/29 23:08:32 christos Exp $   */
 
 /*
  * Copyright (c) 1997-2002 Erez Zadok
@@ -71,6 +71,8 @@
 static int amfs_auto_bgmount(struct continuation *cp, int mpe);
 static int amfs_auto_mount(am_node *mp, mntfs *mf);
 static int amfs_auto_readdir_browsable(am_node *mp, nfscookie cookie, nfsdirlist *dp, nfsentry *ep, int count, int fully_browsable);
+static mntfs **amfs_auto_lookup_mntfs(am_node *new_mp, int *error_return);
+static am_node *amfs_auto_lookup_node(am_node *mp, char *fname, int *error_return);
 
 
 /****************************************************************************
@@ -901,7 +903,7 @@
 
 
 
-am_node *
+static am_node *
 amfs_auto_lookup_node(am_node *mp, char *fname, int *error_return)
 {
   am_node *new_mp;
@@ -1136,7 +1138,7 @@
 }
 
 
-mntfs **
+static mntfs **
 amfs_auto_lookup_mntfs(am_node *new_mp, int *error_return)
 {
   am_node *mp;



Home | Main Index | Thread Index | Old Index