summaryrefslogtreecommitdiff
path: root/atari/osspec.c
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2015-05-28 09:11:32 +0100
committerVincent Sanders <vince@kyllikki.org>2015-05-28 09:11:32 +0100
commit20f2c86a511f7913cf858e7bd3668b0b59663ba0 (patch)
treebcf302d9d30b8b3abf66a06ef285436952e0f00c /atari/osspec.c
parenta098626ff1c87726551419448c8b01b05aff20b9 (diff)
downloadnetsurf-20f2c86a511f7913cf858e7bd3668b0b59663ba0.tar.gz
netsurf-20f2c86a511f7913cf858e7bd3668b0b59663ba0.tar.bz2
Clean up atari source linendings, whitespace damage and executable status
Diffstat (limited to 'atari/osspec.c')
-rw-r--r--atari/osspec.c13
1 files changed, 5 insertions, 8 deletions
diff --git a/atari/osspec.c b/atari/osspec.c
index 82e757a33..2f21bbefe 100644
--- a/atari/osspec.c
+++ b/atari/osspec.c
@@ -40,7 +40,7 @@ NS_ATARI_SYSINFO atari_sysinfo;
void init_os_info(void)
{
int16_t out[4];
- unsigned long cookie_FSMC = 0;
+ unsigned long cookie_FSMC = 0;
atari_sysinfo.gemdos_version = Sversion();
@@ -97,17 +97,16 @@ int tos_getcookie(long tag, long * value)
/*
- a fixed version of realpath() which returns valid
- paths for TOS which have no U: drive
+ a fixed version of realpath() which returns valid
+ paths for TOS which have no U: drive
*/
-char * gemdos_realpath(const char * path, char * rpath)
+char *gemdos_realpath(const char * path, char * rpath)
{
char work[PATH_MAX+1];
char * r;
-
if (rpath == NULL) {
return (NULL);
}
@@ -124,10 +123,8 @@ char * gemdos_realpath(const char * path, char * rpath)
unx2dos((const char *)r, rpath);
LOG(("realpath out: %s\n", rpath));
return(rpath);
- }
- else {
+ } else {
LOG(("realpath out: NULL!\n"));
}
return (NULL);
}
-