spielwiese
Last change
on this file since 2e385d was
2e385d,
checked in by Michael Orlitzky <michael@…>, 18 months ago
|
*/*.{c,h}: fix invalid function prototypes.
The C99 standard does not allow function prototypes (or inline
definitions) to have an empty argument list, such as
int foo(); /* invalid */
This is caught by -Werror=strict-prototypes, which is likely to become
the default in later versions of GCC and clang. This commit corrects
all(?) of them by adding a "void" parameter.
|
-
Property mode set to
100644
|
File size:
454 bytes
|
Line | |
---|
1 | /**************************************** |
---|
2 | * Computer Algebra System SINGULAR * |
---|
3 | ****************************************/ |
---|
4 | /*************************************************************** |
---|
5 | * File: rlimit.h |
---|
6 | * Purpose: set resource limits |
---|
7 | ***************************************************************/ |
---|
8 | |
---|
9 | #ifndef RLIMIT_H |
---|
10 | #define RLIMIT_H |
---|
11 | |
---|
12 | #ifdef __cplusplus |
---|
13 | extern "C" |
---|
14 | { |
---|
15 | #endif |
---|
16 | |
---|
17 | int raise_rlimit_nproc(void); |
---|
18 | |
---|
19 | #ifdef __cplusplus |
---|
20 | } |
---|
21 | #endif |
---|
22 | |
---|
23 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.