summaryrefslogtreecommitdiffstats
path: root/usr.bin/calendar/paskha.c
diff options
context:
space:
mode:
authormarkm <markm@FreeBSD.org>2001-12-02 22:44:14 +0000
committermarkm <markm@FreeBSD.org>2001-12-02 22:44:14 +0000
commit18cc007439fd4537b38b0a18777997e42808118b (patch)
treecdf9c2578aa28f8e4998863c56d35764b6ec1500 /usr.bin/calendar/paskha.c
parentc73844e02d229e510b00a5df2f361eb43b38c8de (diff)
downloadFreeBSD-src-18cc007439fd4537b38b0a18777997e42808118b.zip
FreeBSD-src-18cc007439fd4537b38b0a18777997e42808118b.tar.gz
WARNS=2 fixup (mostly. Some are Hard To Fix(tm), so NO_WERROR is set)
Use __FBSDID(). Sort some headers.
Diffstat (limited to 'usr.bin/calendar/paskha.c')
-rw-r--r--usr.bin/calendar/paskha.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/usr.bin/calendar/paskha.c b/usr.bin/calendar/paskha.c
index e107e18..c5b31ba 100644
--- a/usr.bin/calendar/paskha.c
+++ b/usr.bin/calendar/paskha.c
@@ -22,10 +22,12 @@
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
- *
- * $FreeBSD$
*/
+#include <sys/cdefs.h>
+
+__FBSDID("$FreeBSD$");
+
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
@@ -36,6 +38,8 @@
#define PASKHA "paskha"
#define PASKHALEN (sizeof(PASKHA) - 1)
+static int paskha (int);
+
/* return year day for Orthodox Easter using Gauss formula */
/* (old style result) */
OpenPOWER on IntegriCloud