-/* $NetBSD: morse.c,v 1.16 2009/08/12 08:11:37 dholland Exp $ */
+/* $NetBSD: morse.c,v 1.18 2018/01/16 06:20:24 maya Exp $ */
/*
* Copyright (c) 1988, 1993
#if 0
static char sccsid[] = "@(#)morse.c 8.1 (Berkeley) 5/31/93";
#else
-__RCSID("$NetBSD: morse.c,v 1.16 2009/08/12 08:11:37 dholland Exp $");
+__RCSID("$NetBSD: morse.c,v 1.18 2018/01/16 06:20:24 maya Exp $");
#endif
#endif /* not lint */
{ '"', ".-..-." },
{ '=', "-...-" },
{ '+', ".-.-." },
+ { '_', "..--.-" },
{ '\0', NULL }
};
static int dflag;
int
-main(argc, argv)
- int argc;
- char **argv;
+main(int argc, char **argv)
{
int ch;
char *p;
}
void
-decode(s)
- const char *s;
+decode(const char *s)
{
int i;
}
void
-morse(c)
- int c;
+morse(int c)
{
int i;
}
void
-show(s)
- const char *s;
+show(const char *s)
{
if (sflag)
printf(" %s", s);