aboutsummaryrefslogtreecommitdiff
path: root/jim-pack.c
diff options
context:
space:
mode:
authorSteve Bennett <steveb@workware.net.au>2011-09-12 13:33:51 +1000
committerSteve Bennett <steveb@workware.net.au>2011-09-12 16:58:56 +1000
commitd9c7cb8ee1548b7b94ca9758ae6501cd9a1e0ee6 (patch)
tree11c7f1bfb943313d05423884425dae6ecf18e7d2 /jim-pack.c
parent39f8b5dedf4b713ce58cfa4bdd84d473d30fbeba (diff)
downloadjimtcl-d9c7cb8ee1548b7b94ca9758ae6501cd9a1e0ee6.zip
jimtcl-d9c7cb8ee1548b7b94ca9758ae6501cd9a1e0ee6.tar.gz
jimtcl-d9c7cb8ee1548b7b94ca9758ae6501cd9a1e0ee6.tar.bz2
Remove all trailing whitespace in source
Signed-off-by: Steve Bennett <steveb@workware.net.au>
Diffstat (limited to 'jim-pack.c')
-rw-r--r--jim-pack.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/jim-pack.c b/jim-pack.c
index f8d2ca0..88bf2c1 100644
--- a/jim-pack.c
+++ b/jim-pack.c
@@ -33,7 +33,7 @@ static int JimTestBitLittleEndian(const unsigned char *bitvec, int b)
/**
* Sign extends the given value, 'n' of width 'width' bits.
- *
+ *
* For example, sign extending 0x80 with a width of 8, produces -128
*/
static jim_wide JimSignExtend(jim_wide n, int width)
@@ -52,7 +52,7 @@ static jim_wide JimSignExtend(jim_wide n, int width)
/**
* Big endian integer extraction.
- *
+ *
* Considers 'bitvect' as a big endian bit stream.
* Returns an integer of the given width (in bits)
* starting at the given position (in bits).
@@ -85,7 +85,7 @@ static jim_wide JimBitIntBigEndian(const unsigned char *bitvec, int pos, int wid
/**
* Little endian integer extraction.
- *
+ *
* Like JimBitIntBigEndian() but considers 'bitvect' as a little endian bit stream.
*/
static jim_wide JimBitIntLittleEndian(const unsigned char *bitvec, int pos, int width)
@@ -113,7 +113,7 @@ static jim_wide JimBitIntLittleEndian(const unsigned char *bitvec, int pos, int
/**
* Big endian bit set.
- *
+ *
* Considers 'bitvect' as a big endian bit stream and sets
* bit 'b' to 'bit'
*/
@@ -130,7 +130,7 @@ static void JimSetBitBigEndian(unsigned char *bitvec, int b, int bit)
/**
* Little endian bit set.
- *
+ *
* Considers 'bitvect' as a little endian bit stream and sets
* bit 'b' to 'bit'
*/
@@ -147,7 +147,7 @@ static void JimSetBitLittleEndian(unsigned char *bitvec, int b, int bit)
/**
* Big endian integer packing.
- *
+ *
* Considers 'bitvect' as a big endian bit stream.
* Packs integer 'value' of the given width (in bits)
* starting at the given position (in bits).