Skip to content

Commit

Permalink
Remove extern "C" (obsolete)
Browse files Browse the repository at this point in the history
  • Loading branch information
SamVanheer committed Mar 15, 2022
1 parent 102c4e4 commit 9bad906
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 17 deletions.
8 changes: 0 additions & 8 deletions utils/common/cmdlib.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,6 @@
#include <time.h>
#include <stdarg.h>

#ifdef __cplusplus
extern "C"
{
#endif

#ifndef __CMDUTIL__
#define __CMDUTIL__
typedef int qboolean;
Expand Down Expand Up @@ -143,7 +138,4 @@ typedef struct
void ListPak(const char* pakname);

#endif
#ifdef __cplusplus
}
#endif

9 changes: 0 additions & 9 deletions utils/common/mathlib.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,6 @@

#include <math.h>

#ifdef __cplusplus
extern "C" {
#endif

#ifdef DOUBLEVEC_T
typedef double vec_t;
#else
Expand Down Expand Up @@ -81,9 +77,4 @@ void AngleQuaternion( const vec3_t angles, vec4_t quaternion );
void QuaternionMatrix( const vec4_t quaternion, float (*matrix)[4] );
void QuaternionSlerp( const vec4_t p, vec4_t q, float t, vec4_t qt );


#ifdef __cplusplus
}
#endif

#endif

0 comments on commit 9bad906

Please sign in to comment.