diff options
author | Werner Lemberg <wl@gnu.org> | 2006-05-10 13:58:14 +0000 |
---|---|---|
committer | Werner Lemberg <wl@gnu.org> | 2006-05-10 13:58:14 +0000 |
commit | 37827608c258016d705c29408ffc7e34703a9062 (patch) | |
tree | 5f4c25a94972a9d332224e8a4f25b10e123ba39a /builds | |
parent | 910d4f41d198ca03bfb2670b1329d52cdd7864b1 (diff) |
convert to Unix line endings
Diffstat (limited to 'builds')
-rw-r--r-- | builds/atari/ATARI.H | 32 | ||||
-rw-r--r-- | builds/atari/FNames.SIC | 74 |
2 files changed, 53 insertions, 53 deletions
diff --git a/builds/atari/ATARI.H b/builds/atari/ATARI.H index 28a5575d..4e999650 100644 --- a/builds/atari/ATARI.H +++ b/builds/atari/ATARI.H @@ -1,16 +1,16 @@ -#ifndef ATARI_H
-#define ATARI_H
-
-#pragma warn -stu
-
-/* PureC doesn't like 32bit enumerations */
-
-#ifndef FT_IMAGE_TAG
-#define FT_IMAGE_TAG( value, _x1, _x2, _x3, _x4 ) value
-#endif /* FT_IMAGE_TAG */
-
-#ifndef FT_ENC_TAG
-#define FT_ENC_TAG( value, a, b, c, d ) value
-#endif /* FT_ENC_TAG */
-
-#endif /* ATARI_H */
+#ifndef ATARI_H +#define ATARI_H + +#pragma warn -stu + +/* PureC doesn't like 32bit enumerations */ + +#ifndef FT_IMAGE_TAG +#define FT_IMAGE_TAG( value, _x1, _x2, _x3, _x4 ) value +#endif /* FT_IMAGE_TAG */ + +#ifndef FT_ENC_TAG +#define FT_ENC_TAG( value, a, b, c, d ) value +#endif /* FT_ENC_TAG */ + +#endif /* ATARI_H */ diff --git a/builds/atari/FNames.SIC b/builds/atari/FNames.SIC index 497f0021..f3657179 100644 --- a/builds/atari/FNames.SIC +++ b/builds/atari/FNames.SIC @@ -1,37 +1,37 @@ -/* the following changes file names for PureC projects */
-
-if (argc > 0)
-{
- ordner = argv[0];
- if (basename(ordner) == "") /* ist Ordner */
- {
- ChangeFilenames(ordner);
- }
-}
-
-proc ChangeFilenames(folder)
-local i,entries,directory,file;
-{
- entries = filelist(directory,folder);
- for (i = 0; i < entries; ++i)
- {
- file = directory[i,0];
- if ((directory[i,3]&16) > 0) /* subdirectory */
- {
- ChangeFilenames(folder+file+"\\");
- }
- else
- {
- if ((stricmp(suffix(file),".h")==0)|(stricmp(suffix(file),".c")==0))
- ChangeFilename(folder,file);
- }
- }
-}
-
-proc ChangeFilename(path,datei)
-local newfile,err;
-{
- newfile=datei;
- newfile[0]=(newfile[0] | 32) ^ 32;
- err=files.rename("-q",path+datei,newfile);
-}
+/* the following changes file names for PureC projects */ + +if (argc > 0) +{ + ordner = argv[0]; + if (basename(ordner) == "") /* ist Ordner */ + { + ChangeFilenames(ordner); + } +} + +proc ChangeFilenames(folder) +local i,entries,directory,file; +{ + entries = filelist(directory,folder); + for (i = 0; i < entries; ++i) + { + file = directory[i,0]; + if ((directory[i,3]&16) > 0) /* subdirectory */ + { + ChangeFilenames(folder+file+"\\"); + } + else + { + if ((stricmp(suffix(file),".h")==0)|(stricmp(suffix(file),".c")==0)) + ChangeFilename(folder,file); + } + } +} + +proc ChangeFilename(path,datei) +local newfile,err; +{ + newfile=datei; + newfile[0]=(newfile[0] | 32) ^ 32; + err=files.rename("-q",path+datei,newfile); +} |