aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorgrant <grant@NetBSD.org>2003-02-12 15:18:28 +0000
committergrant <grant@NetBSD.org>2003-02-12 15:18:28 +0000
commit3c56f42b47321c00d3f5b0c99e151f1293fd31b5 (patch)
tree64585d609e086ad4740c9dd81d670d1f8048af2a /include
parent0c9ec8b0c3e49e562c5d84b59ed21592148103cd (diff)
downloadbsd-progress-3c56f42b47321c00d3f5b0c99e151f1293fd31b5.tar.gz
bsd-progress-3c56f42b47321c00d3f5b0c99e151f1293fd31b5.tar.zst
bsd-progress-3c56f42b47321c00d3f5b0c99e151f1293fd31b5.zip
change a couple #ifdef's so /usr/bin/progress doesn't stomp all over
the tty if it's not in the foreground. ok'd by jhawk.
Diffstat (limited to 'include')
-rw-r--r--include/progressbar.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/progressbar.h b/include/progressbar.h
index f0f8485..994ca4f 100644
--- a/include/progressbar.h
+++ b/include/progressbar.h
@@ -1,4 +1,4 @@
-/* $NetBSD: progressbar.h,v 1.1 2003/01/21 16:08:08 jhawk Exp $ */
+/* $NetBSD: progressbar.h,v 1.2 2003/02/12 15:18:28 grant Exp $ */
/*-
* Copyright (c) 1996-2002 The NetBSD Foundation, Inc.
@@ -135,13 +135,13 @@ GLOBAL char *direction; /* direction transfer is occurring */
GLOBAL sigjmp_buf toplevel; /* non-local goto stuff for cmd scanner */
#endif /* !STANDALONE_PROGRESS */
+int foregroundproc(void);
void alarmtimer(int);
void progressmeter(int);
sigfunc xsignal(int, sigfunc);
sigfunc xsignal_restart(int, sigfunc, int);
#ifndef STANDALONE_PROGRESS
-int foregroundproc(void);
void psummary(int);
void ptransfer(int);
#endif /* !STANDALONE_PROGRESS */