From: Ivan Maidanski Date: Tue, 9 Aug 2011 16:36:48 +0000 (+0400) Subject: Fix atomic_ops library name and fix a typo in a comment. X-Git-Tag: libatomic_ops-7_3alpha2~107 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=51055c729e930d9b99712647967b495a1cee9cf5;p=libatomic_ops Fix atomic_ops library name and fix a typo in a comment. * atomic_ops.pc.in: Refine name. * src/atomic_ops_malloc.h: Fix README_malloc filename in comment; expand all tabs to spaces. --- diff --git a/atomic_ops.pc.in b/atomic_ops.pc.in index c38832f..73cc499 100644 --- a/atomic_ops.pc.in +++ b/atomic_ops.pc.in @@ -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 diff --git a/src/atomic_ops_malloc.h b/src/atomic_ops_malloc.h index c55d27c..23ada61 100644 --- a/src/atomic_ops_malloc.h +++ b/src/atomic_ops_malloc.h @@ -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 /* For size_t */ +#include /* 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 */