diff vutilities.c @ 182:7523ee70d66c

merge changes from default
author Nina Engelhardt <nengel@mailbox.tu-berlin.de>
date Fri, 06 Jan 2012 18:55:05 +0100
parents 13b22ffb8a2f
children 6db9e4898978
line diff
     1.1 --- a/vutilities.c	Wed Jan 04 16:40:10 2012 +0100
     1.2 +++ b/vutilities.c	Fri Jan 06 18:55:05 2012 +0100
     1.3 @@ -1,25 +1,25 @@
     1.4 -/*
     1.5 - *  Copyright 2009 OpenSourceCodeStewardshipFoundation.org
     1.6 - *  Licensed under GNU General Public License version 2
     1.7 - *
     1.8 - * Author: seanhalle@yahoo.com
     1.9 - *
    1.10 - * Created on November 14, 2009, 9:07 PM
    1.11 - */
    1.12 -
    1.13 -#include <malloc.h>
    1.14 -#include <stdlib.h>
    1.15 -
    1.16 -#include "VMS.h"
    1.17 -
    1.18 -
    1.19 -inline char *
    1.20 -VMS__strDup( char *str )
    1.21 - { char *retStr;
    1.22 -
    1.23 -   retStr = VMS__malloc( strlen(str) + 1 );
    1.24 -   if( str == NULL ) return str;
    1.25 -   strcpy( retStr, str );
    1.26 -
    1.27 -   return retStr;
    1.28 - }
    1.29 +/*
    1.30 + *  Copyright 2009 OpenSourceCodeStewardshipFoundation.org
    1.31 + *  Licensed under GNU General Public License version 2
    1.32 + *
    1.33 + * Author: seanhalle@yahoo.com
    1.34 + *
    1.35 + * Created on November 14, 2009, 9:07 PM
    1.36 + */
    1.37 +
    1.38 +#include <malloc.h>
    1.39 +#include <stdlib.h>
    1.40 +
    1.41 +#include "VMS.h"
    1.42 +
    1.43 +
    1.44 +inline char *
    1.45 +VMS__strDup( char *str )
    1.46 + { char *retStr;
    1.47 +
    1.48 +   retStr = VMS__malloc( strlen(str) + 1 );
    1.49 +   if( str == NULL ) return str;
    1.50 +   strcpy( retStr, str );
    1.51 +
    1.52 +   return retStr;
    1.53 + }