dlugolecki.net.pl
Dziennik
Polecane
Software
projects
/
vlp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
9d00b52
)
Removed dummy GNU function declarations.
author
Rafał Długołęcki
<kontakt@dlugolecki.net.pl>
Sun, 14 Jul 2013 20:49:11 +0000
(22:49 +0200)
committer
Rafał Długołęcki
<kontakt@dlugolecki.net.pl>
Sun, 14 Jul 2013 20:49:11 +0000
(22:49 +0200)
src/int/runsys.c
patch
|
blob
|
history
diff --git
a/src/int/runsys.c
b/src/int/runsys.c
index d4047fb087a028421629d58cd5b6ab0388ac6e12..310ba4fe00744d7f38f1acf1a04c75fc85ba5016 100644
(file)
--- a/
src/int/runsys.c
+++ b/
src/int/runsys.c
@@
-28,17
+28,15
@@
or Andrzej Salwicki
=======================================================================
*/
=======================================================================
*/
-#include "depend.h"
-#include "genint.h"
-#include "int.h"
-#include "process.h"
-#include "intproto.h"
-
-
-/* Initialize memory structures for objects, main object and a few goodies
- * more.
+#include "depend.h"
+#include "genint.h"
+#include "int.h"
+#include "process.h"
+#include "intproto.h"
+
+/**
+ * Initialize memory structures for objects, main object and a few goodies more.
*/
*/
-
void runsys()
{
word apt, i;
void runsys()
{
word apt, i;
@@
-99,10
+97,10
@@
transfer() */
#endif
}
#endif
}
-
-void initprocess(pix, prot, father) /* Initialize process descriptor */
-word pix, prot;
-procaddr *father;
+/**
+ * Initialize process descriptor
+ */
+void initprocess(word pix, word prot, procaddr *father)
{
procdescr *p;
protdescr *ptr;
{
procdescr *p;
protdescr *ptr;
@@
-182,9
+180,10
@@
fprintf(stderr," from (%d,%d,%d)\n",father->node,father->pix,father->mark);
}
}
-bool member(virt, am)
-virtaddr *virt;
-word *am;
+/**
+ *
+ */
+bool member(virtaddr *virt, word *am)
{
*am = M[ virt->addr ];
/* if (virt->mark == M[ virt->addr+1] ) fprintf(stderr, "Yes");
{
*am = M[ virt->addr ];
/* if (virt->mark == M[ virt->addr+1] ) fprintf(stderr, "Yes");
@@
-192,9
+191,10
@@
word *am;
return (virt->mark == M[ virt->addr+1 ]);
}
return (virt->mark == M[ virt->addr+1 ]);
}
-
-void update(am, ah) /* Update DISPLAY */
-word am, ah;
+/**
+ * Update DISPLAY
+ */
+void update(word am, word ah)
{
word t1, t2, t3, t4, t5, t6;
protdescr *ptr;
{
word t1, t2, t3, t4, t5, t6;
protdescr *ptr;
@@
-223,8
+223,10
@@
word am, ah;
}
}
}
}
-
-void loosen() /* Loosen DISPLAY */
+/**
+ * Loosen DISPLAY
+ */
+void loosen()
{
word t1, t2, t3;
protdescr *ptr;
{
word t1, t2, t3;
protdescr *ptr;
@@
-244,11
+246,15
@@
void loosen() /* Loosen DISPLAY */
}
}
}
}
+/**
+ * To count trace messages in line
+ */
+static int tracecnt = 0;
-static int tracecnt = 0; /* To count trace messages in line */
-
-
void trace(lineno) /* Trace the program if debug mode
*/
-word lineno;
+/**
+ * Trace the program if debug mode
+ */
+void trace(word lineno)
{
thisp->trlnumber = lineno;
if (debug && lineno > 0)
{
thisp->trlnumber = lineno;
if (debug && lineno > 0)
@@
-265,9
+271,10
@@
word lineno;
rpc2(); /* check for RPC message */
}
rpc2(); /* check for RPC message */
}
-
-void endrun(status)
-int status;
+/**
+ *
+ */
+void endrun(int status)
{
MESSAGE msg;
G_MESSAGE m;
{
MESSAGE msg;
G_MESSAGE m;