summaryrefslogtreecommitdiff
path: root/usr.bin/mail/def.h
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1996-06-11 12:54:26 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1996-06-11 12:54:26 +0000
commit1c5940ab5503bf389f03195f3d01a93353919abb (patch)
treea1e9691c11b7f36906f0943dc7d8464a56b98adc /usr.bin/mail/def.h
parent5f733ec731243d90e1e65f27ce29e683e7a253a6 (diff)
from christos;
- Fix PR/105: Implement dot locking protocol and check return value of flock. - Fix PR/2247: Don't call unknown users "ubluit". Issue an error message. - Fix/add prototypes. - Fix warnings. - Use POSIX signal mask calls.
Diffstat (limited to 'usr.bin/mail/def.h')
-rw-r--r--usr.bin/mail/def.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/usr.bin/mail/def.h b/usr.bin/mail/def.h
index df80f32861c..f3d28d7f7d3 100644
--- a/usr.bin/mail/def.h
+++ b/usr.bin/mail/def.h
@@ -1,3 +1,5 @@
+/* $OpenBSD: def.h,v 1.2 1996/06/11 12:53:36 deraadt Exp $ */
+/* $NetBSD: def.h,v 1.8 1996/06/08 19:48:18 christos Exp $ */
/*
* Copyright (c) 1980, 1993
* The Regents of the University of California. All rights reserved.
@@ -30,8 +32,8 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * from: @(#)def.h 8.2 (Berkeley) 3/21/94
- * $Id: def.h,v 1.1 1995/10/18 08:45:38 deraadt Exp $
+ * @(#)def.h 8.2 (Berkeley) 3/21/94
+ * $NetBSD: def.h,v 1.8 1996/06/08 19:48:18 christos Exp $
*/
/*
@@ -105,7 +107,7 @@ struct message {
*/
struct cmd {
char *c_name; /* Name of command */
- int (*c_func)(); /* Implementor of the command */
+ int (*c_func) __P((void *));/* Implementor of the command */
short c_argtype; /* Type of arglist (see below) */
short c_msgflag; /* Required flags of messages */
short c_msgmask; /* Relevant flags of messages */