mirror of
https://github.com/lcn2/calc.git
synced 2025-08-19 01:13:27 +03:00
convert ASCII TABs to ASCII SPACEs
Converted all ASCII tabs to ASCII spaces using a 8 character tab stop, for all files, except for all Makefiles (plus rpm.mk). The `git diff -w` reports no changes.
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
*
|
||||
* Calc 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
|
||||
* or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General
|
||||
* Public License for more details.
|
||||
*
|
||||
* A copy of version 2.1 of the GNU Lesser General Public License is
|
||||
@@ -17,35 +17,35 @@
|
||||
* received a copy with calc; if not, write to Free Software Foundation, Inc.
|
||||
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||
*
|
||||
* Under source code control: 2004/02/22 22:36:10
|
||||
* File existed as early as: 2004
|
||||
* Under source code control: 2004/02/22 22:36:10
|
||||
* File existed as early as: 2004
|
||||
*
|
||||
* chongo <was here> /\oo/\ http://www.isthe.com/chongo/
|
||||
* Share and enjoy! :-) http://www.isthe.com/chongo/tech/comp/calc/
|
||||
* chongo <was here> /\oo/\ http://www.isthe.com/chongo/
|
||||
* Share and enjoy! :-) http://www.isthe.com/chongo/tech/comp/calc/
|
||||
*/
|
||||
|
||||
/*
|
||||
* usage:
|
||||
* have_unused
|
||||
* have_unused
|
||||
*
|
||||
* Not all compilers support the unused attribute, so this may not compile
|
||||
* on your system.
|
||||
*
|
||||
* This prog outputs several defines:
|
||||
*
|
||||
* HAVE_UNUSED
|
||||
* defined ==> OK to use unused
|
||||
* undefined ==> do not use unused
|
||||
* HAVE_UNUSED
|
||||
* defined ==> OK to use unused
|
||||
* undefined ==> do not use unused
|
||||
*
|
||||
* UNUSED
|
||||
* unused ==> use unused
|
||||
* (nothing) ==> unused not used
|
||||
* UNUSED
|
||||
* unused ==> use unused
|
||||
* (nothing) ==> unused not used
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
|
||||
#include "banned.h" /* include after system header <> includes */
|
||||
#include "banned.h" /* include after system header <> includes */
|
||||
|
||||
|
||||
#if !defined(HAVE_NO_UNUSED)
|
||||
@@ -71,20 +71,20 @@ main(void)
|
||||
{
|
||||
#if defined(HAVE_NO_UNUSED)
|
||||
|
||||
printf("#undef UNUSED\n");
|
||||
printf("#if defined(__LCLINT__)\n");
|
||||
printf("# define UNUSED(x) /*@unused@*/ x\n");
|
||||
printf("#else\n");
|
||||
printf("# define UNUSED(x) x\n");
|
||||
printf("#endif\n");
|
||||
printf("#undef UNUSED\n");
|
||||
printf("#if defined(__LCLINT__)\n");
|
||||
printf("# define UNUSED(x) /*@unused@*/ x\n");
|
||||
printf("#else\n");
|
||||
printf("# define UNUSED(x) x\n");
|
||||
printf("#endif\n");
|
||||
|
||||
#else /* HAVE_NO_UNUSED */
|
||||
|
||||
printf("#undef UNUSED\n");
|
||||
printf("#define UNUSED(x) %s\n", unused_str(NULL));
|
||||
printf("#undef UNUSED\n");
|
||||
printf("#define UNUSED(x) %s\n", unused_str(NULL));
|
||||
|
||||
#endif /* HAVE_NO_UNUSED */
|
||||
|
||||
/* exit(0); */
|
||||
return 0;
|
||||
/* exit(0); */
|
||||
return 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user