2566
|
1 /* |
|
2 |
11523
|
3 Copyright (C) 1996-2011 John W. Eaton |
2566
|
4 |
|
5 This file is part of Octave. |
|
6 |
|
7 Octave is free software; you can redistribute it and/or modify it |
|
8 under the terms of the GNU General Public License as published by the |
7016
|
9 Free Software Foundation; either version 3 of the License, or (at your |
|
10 option) any later version. |
2566
|
11 |
|
12 Octave is distributed in the hope that it will be useful, but WITHOUT |
|
13 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
|
14 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
|
15 for more details. |
|
16 |
|
17 You should have received a copy of the GNU General Public License |
7016
|
18 along with Octave; see the file COPYING. If not, see |
|
19 <http://www.gnu.org/licenses/>. |
2566
|
20 |
|
21 */ |
|
22 |
|
23 #include <assert.h> |
|
24 |
3887
|
25 |
|
26 /* Dummy Fortran main declaration, needed in order to link to some |
|
27 Fortran libraries. See the AC_F77_DUMMY_MAIN macro documentation. |
|
28 This function should never be called. */ |
2566
|
29 |
3887
|
30 #ifdef F77_DUMMY_MAIN |
|
31 # ifdef __cplusplus |
|
32 extern "C" |
|
33 # endif |
|
34 int F77_DUMMY_MAIN() { assert(0); return 1; } |
2566
|
35 #endif |