Give deltax(), deltay() internal linkage
External linkage unnecessary since commit 3ca88271
.
This commit is contained in:
parent
5e08b7fa55
commit
5f08a3c04a
2 changed files with 2 additions and 8 deletions
|
@ -280,8 +280,6 @@ extern int logreopen(void);
|
|||
extern void logerror(char *, ...) ATTRIBUTE((format (printf, 1, 2)));
|
||||
/* more in misc.h */
|
||||
/* mapdist.c */
|
||||
extern int deltax(int, int);
|
||||
extern int deltay(int, int);
|
||||
extern int mapdist(int, int, int, int);
|
||||
/* move.c */
|
||||
/* in path.h */
|
||||
|
|
|
@ -31,17 +31,13 @@
|
|||
*
|
||||
*/
|
||||
|
||||
/*
|
||||
* mapdist returns (integer) distance between two sectors.
|
||||
*/
|
||||
|
||||
#include <config.h>
|
||||
|
||||
#include "misc.h"
|
||||
#include "optlist.h"
|
||||
#include "prototypes.h"
|
||||
|
||||
int
|
||||
static int
|
||||
deltax(int x1, int x2)
|
||||
{
|
||||
int dx;
|
||||
|
@ -53,7 +49,7 @@ deltax(int x1, int x2)
|
|||
return dx;
|
||||
}
|
||||
|
||||
int
|
||||
static int
|
||||
deltay(int y1, int y2)
|
||||
{
|
||||
int dy;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue