aboutsummaryrefslogtreecommitdiffstats
path: root/erts/epmd/src/epmd.c
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2010-04-03 11:29:44 +0200
committerBjörn Gustavsson <[email protected]>2010-04-30 06:16:02 +0200
commitc42ea6aaa4c48fc15ea3d56c74055c90e396932f (patch)
tree4f322426667ed64496d31f141c0e1d0bb1749161 /erts/epmd/src/epmd.c
parent545fb032fc599249a0edab13fe9adde16fc0e326 (diff)
downloadotp-c42ea6aaa4c48fc15ea3d56c74055c90e396932f.tar.gz
otp-c42ea6aaa4c48fc15ea3d56c74055c90e396932f.tar.bz2
otp-c42ea6aaa4c48fc15ea3d56c74055c90e396932f.zip
epmd: #ifdef out start_epmd() for other platforms than VxWorks
There is no reason to define a function that is never used.
Diffstat (limited to 'erts/epmd/src/epmd.c')
-rw-r--r--erts/epmd/src/epmd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/erts/epmd/src/epmd.c b/erts/epmd/src/epmd.c
index 23ac421446..b356844df6 100644
--- a/erts/epmd/src/epmd.c
+++ b/erts/epmd/src/epmd.c
@@ -161,7 +161,7 @@ OS_PROCESS(ose_epmd) {
#else /* ifdef _OSE_ */
-/* VxWorks start function */
+#ifdef VXWORKS
int start_epmd(a0, a1, a2, a3, a4, a5, a6, a7, a8, a9)
char *a0, *a1, *a2, *a3, *a4, *a5, *a6, *a7, *a8, *a9;
{
@@ -200,7 +200,7 @@ char *a0, *a1, *a2, *a3, *a4, *a5, *a6, *a7, *a8, *a9;
argc,(int) argv,1,
0,0,0,0,0,0,0);
}
-
+#endif /* WxWorks */
#endif /* _OSE_ */