]> git.ipfire.org Git - thirdparty/bash.git/blobdiff - mailcheck.h
Bash-5.2 patch 17: fix for optimizing forks when using the . builtin in a subshell
[thirdparty/bash.git] / mailcheck.h
index 1c6f24ff9e6c0237a483f3b4fb8a570db00270e9..e930124c3a47871a620082c644b8ad5deae0e52b 100644 (file)
@@ -1,33 +1,34 @@
 /* mailcheck.h -- variables and function declarations for mail checking. */
 
-/* Copyright (C) 1987,1991 Free Software Foundation, Inc.
+/* Copyright (C) 1987-2020 Free Software Foundation, Inc.
 
    This file is part of GNU Bash, the Bourne Again SHell.
 
-   Bash is free software; you can redistribute it and/or modify it
-   under the terms of the GNU General Public License as published by
-   the Free Software Foundation; either version 2, or (at your option)
-   any later version.
+   Bash is free software: you can redistribute it and/or modify
+   it under the terms of the GNU General Public License as published by
+   the Free Software Foundation, either version 3 of the License, or
+   (at your option) any later version.
 
-   Bash is distributed in the hope that it will be useful, but WITHOUT
-   ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
-   or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public
-   License for more details.
+   Bash is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+   GNU General Public License for more details.
 
    You should have received a copy of the GNU General Public License
-   along with Bash; see the file COPYING.  If not, write to the Free
-   Software Foundation, 59 Temple Place, Suite 330, Boston, MA 02111 USA. */
+   along with Bash.  If not, see <http://www.gnu.org/licenses/>.
+*/
 
 #if !defined (_MAILCHECK_H_)
 #define _MAILCHECK_H_
 
 /* Functions from mailcheck.c */
-extern int time_to_check_mail __P((void));
-extern void reset_mail_timer __P((void));
-extern void reset_mail_files __P((void));
-extern void free_mail_files __P((void));
-extern char *make_default_mailpath __P((void));
-extern void remember_mail_dates __P((void));
-extern void check_mail __P((void));
+extern int time_to_check_mail PARAMS((void));
+extern void reset_mail_timer PARAMS((void));
+extern void reset_mail_files PARAMS((void));
+extern void free_mail_files PARAMS((void));
+extern char *make_default_mailpath PARAMS((void));
+extern void remember_mail_dates PARAMS((void));
+extern void init_mail_dates PARAMS((void));
+extern void check_mail PARAMS((void));
 
 #endif /* _MAILCHECK_H */