Documentation fixes
[vlp.git] / src / int / procaddr.c
index 4977c69bfb72ca5984459cff9e10a1b0429d2623..00d0084be29d7beb8de209e8bf0fdc359e7896af 100644 (file)
 #define staddr(node, pix)      ((word) ((pix << 8) | node))
 
 
-/*
-       These are converters from global to process pointers in memory
-       to global process pointers in message.
-       M denotes memory in which pair (pointer,object) exists or has to exist.
-       We want to create object denoting remote process instead of
-       dummy pointer without object.
-       The object will be like an arrayof integer of size 2.
-        arr[1..3] : arr[1]=node, arr[2]=pix.
-*/
+/**
+ * @file
+ * These are converters from global to process pointers in memory
+ * to global process pointers in message.
+ * M denotes memory in which pair (pointer,object) exists or has to exist.
+ * We want to create object denoting remote process instead of
+ * dummy pointer without object.
+ * The object will be like an arrayof integer of size 2.
+ *         arr[1..3] : arr[1]=node, arr[2]=pix.
+ */
 
 void obj2mess(word *M, virtaddr *obj, procaddr *mess)
 {
@@ -205,7 +206,7 @@ static int hash_mess(procaddr *mess) {
        return hash % (thisp->hash_size);
 }
 
-static int hash_2( hash_1 ) hash_1;{
+static int hash_2(int hash_1 ) {
        return thisp->hash_size -2 - (hash_1 % (thisp->hash_size - 2));
 }