Browse Source

- Removed level 2 comments and control characters in comments.

git-svn-id: trunk@21726 -
sergei 13 years ago
parent
commit
185e34915c
2 changed files with 11 additions and 11 deletions
  1. 5 5
      rtl/linux/unxsockh.inc
  2. 6 6
      rtl/unix/ipc.pp

+ 5 - 5
rtl/linux/unxsockh.inc

@@ -170,10 +170,10 @@ Const
          IPPROTO_RAW     = 255;       { Raw IP packets.  }
          IPPROTO_RAW     = 255;       { Raw IP packets.  }
          IPPROTO_MAX     = 255;
          IPPROTO_MAX     = 255;
 //from /usr/include/bits/in.h
 //from /usr/include/bits/in.h
-{{ Options for use with etsockopt' and etsockopt' at the IP level.
+{ Options for use with getsockopt' and setsockopt' at the IP level.
    The first word in the comment at the right is the data type used;
    The first word in the comment at the right is the data type used;
-   "bool" means a boolean value stored in an 	nt'.  }
-}
+   "bool" means a boolean value stored in an int'.  }
+
         IP_OPTIONS              = 4;               { ip_opts; IP per-packet options.  }
         IP_OPTIONS              = 4;               { ip_opts; IP per-packet options.  }
         IP_HDRINCL              = 3;               { int; Header is included with data.  }
         IP_HDRINCL              = 3;               { int; Header is included with data.  }
         IP_TOS                  = 1;               { int; IP type of service and precedence.  }
         IP_TOS                  = 1;               { int; IP type of service and precedence.  }
@@ -227,9 +227,9 @@ Const
         IP_MAX_MEMBERSHIPS       = 20;
         IP_MAX_MEMBERSHIPS       = 20;
 
 
 
 
-{  Options for use with etsockopt' and etsockopt' at the IPv6 level.
+{  Options for use with getsockopt' and setsockopt' at the IPv6 level.
    The first word in the comment at the right is the data type used;
    The first word in the comment at the right is the data type used;
-   "bool" means a boolean value stored in an 	nt'.  }
+   "bool" means a boolean value stored in an int'.  }
         IPV6_ADDRFORM         = 1;
         IPV6_ADDRFORM         = 1;
         IPV6_PKTINFO             = 2;
         IPV6_PKTINFO             = 2;
         IPV6_HOPOPTS             = 3;
         IPV6_HOPOPTS             = 3;

+ 6 - 6
rtl/unix/ipc.pp

@@ -548,12 +548,12 @@ const
   MAX_SOPS = 5;
   MAX_SOPS = 5;
 
 
 {$if not defined(aix) and not defined(darwin)}
 {$if not defined(aix) and not defined(darwin)}
-  SEM_GETNCNT = 3;   { Return the value of sempid {READ}  }
-  SEM_GETPID  = 4;   { Return the value of semval {READ}  }
-  SEM_GETVAL  = 5;   { Return semvals into arg.array {READ}  }
-  SEM_GETALL  = 6;   { Return the value of semzcnt {READ}  }
-  SEM_GETZCNT = 7;   { Set the value of semval to arg.val {ALTER}  }
-  SEM_SETVAL  = 8;   { Set semvals from arg.array {ALTER}  }
+  SEM_GETNCNT = 3;   { Return the value of sempid (READ)  }
+  SEM_GETPID  = 4;   { Return the value of semval (READ)  }
+  SEM_GETVAL  = 5;   { Return semvals into arg.array (READ)  }
+  SEM_GETALL  = 6;   { Return the value of semzcnt (READ)  }
+  SEM_GETZCNT = 7;   { Set the value of semval to arg.val (ALTER)  }
+  SEM_SETVAL  = 8;   { Set semvals from arg.array (ALTER)  }
   SEM_SETALL  = 9;
   SEM_SETALL  = 9;
 {$endif}
 {$endif}