diff options
author | Lasse Collin <lasse.collin@tukaani.org> | 2009-04-13 11:27:40 +0300 |
---|---|---|
committer | Lasse Collin <lasse.collin@tukaani.org> | 2009-04-13 11:27:40 +0300 |
commit | 02ddf09bc3079b3e17297729b9e43f14d407b8fc (patch) | |
tree | 4a3b92a91c5eacbd7ea6229dd02ffeae6688b02f /src/common | |
parent | Fix off-by-one in LZ decoder. (diff) | |
download | xz-02ddf09bc3079b3e17297729b9e43f14d407b8fc.tar.xz |
Put the interesting parts of XZ Utils into the public domain.
Some minor documentation cleanups were made at the same time.
Diffstat (limited to 'src/common')
-rw-r--r-- | src/common/bswap.h | 7 | ||||
-rw-r--r-- | src/common/cpucores.h | 7 | ||||
-rw-r--r-- | src/common/integer.h | 7 | ||||
-rw-r--r-- | src/common/mythread.h | 4 | ||||
-rw-r--r-- | src/common/open_stdxxx.h | 7 | ||||
-rw-r--r-- | src/common/physmem.h | 7 | ||||
-rw-r--r-- | src/common/sysdefs.h | 13 |
7 files changed, 21 insertions, 31 deletions
diff --git a/src/common/bswap.h b/src/common/bswap.h index f5cb8345..c8cf125a 100644 --- a/src/common/bswap.h +++ b/src/common/bswap.h @@ -3,11 +3,10 @@ /// \file bswap.h /// \brief Byte swapping // -// This code has been put into the public domain. +// Author: Lasse Collin // -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. +// This file has been put into the public domain. +// You can do whatever you want with this file. // /////////////////////////////////////////////////////////////////////////////// diff --git a/src/common/cpucores.h b/src/common/cpucores.h index 1066a8e9..704d8a26 100644 --- a/src/common/cpucores.h +++ b/src/common/cpucores.h @@ -3,11 +3,10 @@ /// \file cpucores.h /// \brief Get the number of online CPU cores // -// This code has been put into the public domain. +// Author: Lasse Collin // -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. +// This file has been put into the public domain. +// You can do whatever you want with this file. // /////////////////////////////////////////////////////////////////////////////// diff --git a/src/common/integer.h b/src/common/integer.h index 9addf965..518c2a4e 100644 --- a/src/common/integer.h +++ b/src/common/integer.h @@ -3,11 +3,10 @@ /// \file integer.h /// \brief Reading and writing integers from and to buffers // -// This code has been put into the public domain. +// Author: Lasse Collin // -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. +// This file has been put into the public domain. +// You can do whatever you want with this file. // /////////////////////////////////////////////////////////////////////////////// diff --git a/src/common/mythread.h b/src/common/mythread.h index ee8a341d..476c2fc9 100644 --- a/src/common/mythread.h +++ b/src/common/mythread.h @@ -3,8 +3,10 @@ /// \file mythread.h /// \brief Wrappers for threads // -// Author: Lasse Collin +// Author: Lasse Collin +// // This file has been put into the public domain. +// You can do whatever you want with this file. // /////////////////////////////////////////////////////////////////////////////// diff --git a/src/common/open_stdxxx.h b/src/common/open_stdxxx.h index d0ac15af..22300851 100644 --- a/src/common/open_stdxxx.h +++ b/src/common/open_stdxxx.h @@ -3,11 +3,10 @@ /// \file open_stdxxx.h /// \brief Make sure that file descriptors 0, 1, and 2 are open // -// This code has been put into the public domain. +// Author: Lasse Collin // -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. +// This file has been put into the public domain. +// You can do whatever you want with this file. // /////////////////////////////////////////////////////////////////////////////// diff --git a/src/common/physmem.h b/src/common/physmem.h index acf03c7a..d002d9df 100644 --- a/src/common/physmem.h +++ b/src/common/physmem.h @@ -3,11 +3,10 @@ /// \file physmem.h /// \brief Get the amount of physical memory // -// This code has been put into the public domain. +// Author: Lasse Collin // -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. +// This file has been put into the public domain. +// You can do whatever you want with this file. // /////////////////////////////////////////////////////////////////////////////// diff --git a/src/common/sysdefs.h b/src/common/sysdefs.h index 5b8b9cec..fbc9176a 100644 --- a/src/common/sysdefs.h +++ b/src/common/sysdefs.h @@ -6,17 +6,10 @@ /// This file is used also by the lzma command line tool, that's why this /// file is separate from common.h. // -// Copyright (C) 2007 Lasse Collin +// Author: Lasse Collin // -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. +// This file has been put into the public domain. +// You can do whatever you want with this file. // /////////////////////////////////////////////////////////////////////////////// |