Skip to content

Commit 692e6bd

Browse files
committed
Fix Brutus C/C++ linking error
1 parent 6f6cd6a commit 692e6bd

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

src/amuse/community/brutus/interface.cc

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,6 @@ std::vector<mpreal> data, data_radius;
4343
// Amuse interface functions
4444
////////////////////////////////////////////////////////
4545

46-
extern "C" {
47-
4846
int initialize_code() {
4947
odata.open("temp.log");
5048

@@ -679,5 +677,3 @@ int get_center_of_mass_velocity(double* vx, double* vy, double* vz){
679677
int get_acceleration(int id, double* ax, double* ay, double* az){return -2;}
680678
int set_acceleration(int id, double ax, double ay, double az){return -2;}
681679

682-
} // extern "C"
683-

0 commit comments

Comments
 (0)