Fix atomic_ops library name and fix a typo in a comment.
authorIvan Maidanski <ivmai@mail.ru>
Tue, 9 Aug 2011 16:36:48 +0000 (20:36 +0400)
committerIvan Maidanski <ivmai@mail.ru>
Tue, 9 Aug 2011 16:36:48 +0000 (20:36 +0400)
* atomic_ops.pc.in: Refine name.
* src/atomic_ops_malloc.h: Fix README_malloc filename in comment;
expand all tabs to spaces.

atomic_ops.pc.in
src/atomic_ops_malloc.h

index c38832f..73cc499 100644 (file)
@@ -3,7 +3,7 @@ exec_prefix=@exec_prefix@
 libdir=@libdir@
 includedir=@includedir@
 
-Name: The atomic_ops project
+Name: The atomic_ops library
 Description: Atomic memory update operations portable implementation
 Version: @PACKAGE_VERSION@
 Libs: -L${libdir} -latomic_ops
index c55d27c..23ada61 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 doc/README_malloc.txt 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 mmpa to grow the heap.  No-op on some platforms.        */
 void AO_malloc_enable_mmap(void);
 
 #endif /* !AO_ATOMIC_H */