]> git.sur5r.net Git - cc65/blobdiff - src/common/shift.c
Fixed LinuxDoc Tools issues in some verbatim blocks in the Atari document.
[cc65] / src / common / shift.c
index 156dbd22ce37697c01ceac8727f930a062ca432e..16b9d0c5dffd8d8a518d4bceb9ff913bad556a65 100644 (file)
@@ -7,7 +7,7 @@
 /*                                                                           */
 /*                                                                           */
 /* (C) 2003      Ullrich von Bassewitz                                       */
-/*               Römerstraße 52                                              */
+/*               Roemerstrasse 52                                            */
 /*               D-70794 Filderstadt                                         */
 /* EMail:        uz@cc65.org                                                 */
 /*                                                                           */
 
 
 /* According to the C standard, shifting a data type by the number of bits it
- * has causes undefined behaviour. So 
- *
- *      unsigned long l = 1;
- *      unsigned u =32;
- *      l <<= u;
- *
- * maybe illegal. The functions in this module behave safely in this respect,
- * and they use proper casting to distinguish signed from unsigned shifts.
- * They are not a general purpose replacement for the shift operator!
- */
+** has causes undefined behaviour. So
+**
+**      unsigned long l = 1;
+**      unsigned u =32;
+**      l <<= u;
+**
+** may be illegal. The functions in this module behave safely in that respect,
+** and they use proper casting to distinguish signed from unsigned shifts.
+** They are not a general purpose replacement for the shift operator!
+*/
 
 
 
@@ -125,6 +125,3 @@ unsigned long shr_l (unsigned long l, unsigned count)
     }
     return l;
 }
-
-
-