(diroff, dirch, routech): Declare with array size. Define without.

This requires moving routech[] declaration from map.h to path.h.  Get
rid of s_char.
This commit is contained in:
Markus Armbruster 2005-10-30 16:46:46 +00:00
parent e59f9a43d1
commit ae251d0a58
3 changed files with 8 additions and 9 deletions

View file

@ -31,10 +31,10 @@
* Known contributors to this file:
*/
#include "misc.h"
#include "path.h"
/* must agree with DIR_ defines */
s_char dirch[] = {
char dirch[] = {
'h', /* stop */
'u', /* up-right */
'j', /* right */
@ -61,7 +61,7 @@ signed char dirindex[] = {
};
/* must agree with dirch[] and DIR_ defines */
s_char *routech[7][2] = {
char *routech[][2] = {
{" ", "$ $"},
{" /", "$ /"},
{" >", "$ >"},