summaryrefslogtreecommitdiff
path: root/src/helper/membuf.h
diff options
context:
space:
mode:
authorzwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-06-24 09:38:21 +0000
committerzwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-06-24 09:38:21 +0000
commitfddbc58091cc13934b0e6e4f835884dcdefd4e09 (patch)
tree66d4025fb3f9f471b573eaac66ac1caf052fba51 /src/helper/membuf.h
parent2428bc2a5cbe27659c4605e29b804031f133cf0c (diff)
downloadopenocd+libswd-fddbc58091cc13934b0e6e4f835884dcdefd4e09.tar.gz
openocd+libswd-fddbc58091cc13934b0e6e4f835884dcdefd4e09.tar.bz2
openocd+libswd-fddbc58091cc13934b0e6e4f835884dcdefd4e09.tar.xz
openocd+libswd-fddbc58091cc13934b0e6e4f835884dcdefd4e09.zip
Remove whitespace at end of lines, step 2.
- Replace '\s*$' with ''. git-svn-id: svn://svn.berlios.de/openocd/trunk@2398 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/helper/membuf.h')
-rw-r--r--src/helper/membuf.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/helper/membuf.h b/src/helper/membuf.h
index 554504f7..a6ed5041 100644
--- a/src/helper/membuf.h
+++ b/src/helper/membuf.h
@@ -12,14 +12,14 @@
* This is a simple 'string buffer' that auto-grows.
*
* More correctly put, this is a "memory buffer"
- * it may contain binary data
- *
+ * it may contain binary data
+ *
* Note: Internally the buffer always has a 'null terminator'
*/
/* contents of this structure are 'opaque' */
struct membuf;
-
+
/** Create a new membuf
* By default the memory buffer has "some non-zero-size"
@@ -34,7 +34,7 @@ void membuf_delete(struct membuf *pBuf);
/** grow/shrink a membuf by specified amount.
- * @param pBuf - the buffer
+ * @param pBuf - the buffer
* @param amount - the amount to grow or shrink by.
*
* Symantics of 'realloc()' return NULL on failure
@@ -43,7 +43,7 @@ struct membuf *membuf_grow(struct membuf *pBuf, int amount);
/** how long is this buffer (memlen(), strlen())
* @param pBuf - the buffer
- *
+ *
* @returns: length of current buffer.
*/
size_t membuf_len(struct membuf *pBuf);
@@ -76,10 +76,10 @@ int membuf_sprintf(struct membuf *pBuf , const char *fmt, ...);
*/
int membuf_vsprintf(struct membuf *pBuf , const char *fmt, va_list ap);
-/** Tokenize lines using strtok()
+/** Tokenize lines using strtok()
* @param pBuf - buffer to tokenize
* @param delim - delimiter parameter for strtok_r()
- *
+ *
* Identical to "strtok()" - pass "pBuff = NULL" on second call
*
* NOTE: This call is <b > destructive</b> to the buffer.