From 20f2c86a511f7913cf858e7bd3668b0b59663ba0 Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Thu, 28 May 2015 09:11:32 +0100 Subject: Clean up atari source linendings, whitespace damage and executable status --- atari/osspec.c | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) (limited to 'atari/osspec.c') 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); } - -- cgit v1.2.3