Mercurial > octave-nkf
annotate liboctave/util/f2c-main.c @ 20595:c1a6c31ac29a
eliminate more simple uses of error_state
* ov-classdef.cc: Eliminate simple uses of error_state.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Tue, 06 Oct 2015 00:20:02 -0400 |
parents | 57a3e21e131b |
children |
rev | line source |
---|---|
2566 | 1 /* |
2 | |
19731
4197fc428c7d
maint: Update copyright notices for 2015.
John W. Eaton <jwe@octave.org>
parents:
17744
diff
changeset
|
3 Copyright (C) 1996-2015 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 | |
20450
57a3e21e131b
* f2c-main.c: Include config.h.
Mike Miller <mtmiller@octave.org>
parents:
19731
diff
changeset
|
23 #ifdef HAVE_CONFIG_H |
57a3e21e131b
* f2c-main.c: Include config.h.
Mike Miller <mtmiller@octave.org>
parents:
19731
diff
changeset
|
24 #include <config.h> |
57a3e21e131b
* f2c-main.c: Include config.h.
Mike Miller <mtmiller@octave.org>
parents:
19731
diff
changeset
|
25 #endif |
57a3e21e131b
* f2c-main.c: Include config.h.
Mike Miller <mtmiller@octave.org>
parents:
19731
diff
changeset
|
26 |
2566 | 27 #include <assert.h> |
28 | |
3887 | 29 |
30 /* Dummy Fortran main declaration, needed in order to link to some | |
11586
12df7854fa7c
strip trailing whitespace from source files
John W. Eaton <jwe@octave.org>
parents:
11523
diff
changeset
|
31 Fortran libraries. See the AC_F77_DUMMY_MAIN macro documentation. |
3887 | 32 This function should never be called. */ |
2566 | 33 |
3887 | 34 #ifdef F77_DUMMY_MAIN |
35 # ifdef __cplusplus | |
36 extern "C" | |
37 # endif | |
15018
3d8ace26c5b4
maint: Use Octave coding conventions for cuddled parentheses in liboctave/.
Rik <rik@octave.org>
parents:
14846
diff
changeset
|
38 int F77_DUMMY_MAIN () { assert (0); return 1; } |
2566 | 39 #endif |