summaryrefslogtreecommitdiff
path: root/src/game/bg_lib.c
diff options
context:
space:
mode:
authorTim Angus <tim@ngus.net>2007-09-21 12:44:36 +0000
committerTim Angus <tim@ngus.net>2007-09-21 12:44:36 +0000
commit0fde027e0d27deb88134c0875d10ebd40e0a0ba6 (patch)
tree73cf0799026d9a37960cbe8b4b60fbb22b92795b /src/game/bg_lib.c
parent1bfafb4aa17a057876cdd0b42b6ee1474b5ffce9 (diff)
* Remove lots and lots of redundant comments
Diffstat (limited to 'src/game/bg_lib.c')
-rw-r--r--src/game/bg_lib.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/src/game/bg_lib.c b/src/game/bg_lib.c
index 54d1ed59..8594db44 100644
--- a/src/game/bg_lib.c
+++ b/src/game/bg_lib.c
@@ -70,7 +70,6 @@ static const char rcsid[] =
"$Id$";
#endif /* LIBC_SCCS and not lint */
-// bk001127 - needed for DLL's
#if !defined( Q3_VM )
typedef int cmp_t(const void *, const void *);
#endif
@@ -217,7 +216,6 @@ loop: SWAPINIT(a, es);
// this file is excluded from release builds because of intrinsics
-// bk001211 - gcc errors on compiling strcpy: parse error before `__extension__'
#if defined ( Q3_VM )
size_t strlen( const char *string )
@@ -272,7 +270,6 @@ int strcmp( const char *string1, const char *string2 )
return *string1 - *string2;
}
-//TA:
char *strrchr( const char *string, int c )
{
int i, length = strlen( string );
@@ -321,7 +318,7 @@ char *strstr( const char *string, const char *strCharSet )
return (char *)0;
}
-#endif // bk001211
+#endif
#if defined ( Q3_VM )
@@ -830,8 +827,6 @@ double rint( double v )
return floor( v );
}
-// bk001127 - guarded this tan replacement
-// ld: undefined versioned symbol name tan@@GLIBC_2.0
double tan( double x )
{
return sin( x ) / cos( x );
@@ -1414,7 +1409,7 @@ double _atof( const char **stringPtr )
const char *string;
float sign;
float value;
- int c = '0'; // bk001211 - uninitialized use possible
+ int c = '0';
string = *stringPtr;