aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Kavanagh <rak@debian.org>2013-03-07 18:57:56 -0500
committerRyan Kavanagh <rak@debian.org>2013-03-07 18:57:56 -0500
commita8ba089c93e28985e18fea053397be78f31ac2d6 (patch)
tree1a395dbca5f438792ea7758a369757c7e6f53f00
parentAdd some magic to define __dead on non-BSD systems/where it's undefined (diff)
Wrap prototypes in __BEGIN_DECLS, as with best practice
-rw-r--r--nmm.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/nmm.c b/nmm.c
index 53997c9..9144977 100644
--- a/nmm.c
+++ b/nmm.c
@@ -130,6 +130,7 @@ static const struct strkey dirc[] = {
{ 0 } /* GCC will incorrectly complain about this, GCC BUG#53119 */
};
+__BEGIN_DECLS
int joinpts(const int, point *, point *);
void joinns(point *, point *);
void joinwe(point *, point *);
@@ -184,6 +185,7 @@ point *phaseone(scrgame *);
point *phasetwothree(scrgame *);
char *lower(char *);
int main(int, char **);
+__END_DECLS
const char *const instructions[] = {
"The board consists of positions connected with dashed lines, initially\n",