summaryrefslogtreecommitdiff
path: root/usr.bin/less/filename.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2010-07-03 16:29:47 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2010-07-03 16:29:47 +0000
commit405db57092c0b7c543f0e965f57ba5b6c2f96aa4 (patch)
tree19224b15257e4abe46837d8aa796c1465b522715 /usr.bin/less/filename.c
parentc6e3f5dd2325ffc008f8594e5147feec37ccc543 (diff)
use SMALL_PROGRAM to knock out some code
Diffstat (limited to 'usr.bin/less/filename.c')
-rw-r--r--usr.bin/less/filename.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/usr.bin/less/filename.c b/usr.bin/less/filename.c
index 1c499e99411..761f92996ef 100644
--- a/usr.bin/less/filename.c
+++ b/usr.bin/less/filename.c
@@ -256,6 +256,7 @@ dirfile(dirname, filename)
return (pathname);
}
+#ifndef SMALL_PROGRAM
/*
* Return the full pathname of the given file in the "home directory".
*/
@@ -301,6 +302,7 @@ homefile(filename)
#endif
return (NULL);
}
+#endif /* SMALL_PROGRAM */
#ifdef HELPFILE
/*