]> granicus.if.org Git - libatomic_ops/commitdiff
Fix a typo in comment
authorIvan Maidanski <ivmai@mail.ru>
Sun, 4 Mar 2012 16:20:22 +0000 (20:20 +0400)
committerIvan Maidanski <ivmai@mail.ru>
Sun, 4 Mar 2012 18:32:43 +0000 (22:32 +0400)
(Apply commit 529f91a from 'master' branch)

* src/atomic_ops_malloc.h (AO_malloc_enable_mmap): Fix a typo in the
comment.

src/atomic_ops_malloc.h

index c55d27c2566efc72edae9740cb4c0e2841a7e2aa..41987edd6ee6795af4b5e30878d1ea8836dd0c25 100644 (file)
@@ -1,32 +1,32 @@
 /*
  * Copyright (c) 2005 Hewlett-Packard Development Company, L.P.
- * 
+ *
  * Permission is hereby granted, free of charge, to any person obtaining a copy
  * of this software and associated documentation files (the "Software"), to deal
  * in the Software without restriction, including without limitation the rights
  * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
  * copies of the Software, and to permit persons to whom the Software is
  * furnished to do so, subject to the following conditions:
- * 
+ *
  * The above copyright notice and this permission notice shall be included in
  * all copies or substantial portions of the Software.
- * 
+ *
  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
  * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE. 
+ * SOFTWARE.
  */
 
 /* Almost lock-free malloc implementation based on stack implementation. */
-/* See README.malloc file for detailed usage rules.                     */
+/* See README.malloc file for detailed usage rules.                      */
 
 #ifndef AO_ATOMIC_H
 #define AO_ATOMIC_H
 
-#include <stdlib.h>    /* For size_t */
+#include <stdlib.h>     /* For size_t */
 
 #include "atomic_ops_stack.h"
 
@@ -38,7 +38,7 @@ void AO_free(void *);
 
 void * AO_malloc(size_t);
 
-/* Allow use of mmpa to grow the heap.  No-op on some platforms.       */
+/* Allow use of mmap to grow the heap.  No-op on some platforms.        */
 void AO_malloc_enable_mmap(void);
 
 #endif /* !AO_ATOMIC_H */