Last change
on this file since 3859 was 3845, checked in by Bruno Cornec, 6 months ago |
Fix compiler warnings for FILE handling
|
-
Property svn:eol-style
set to
native
|
File size:
656 bytes
|
Line | |
---|
1 | /*
|
---|
2 | * $Id$
|
---|
3 | *
|
---|
4 | * Header file of mr_sys: a set of function manipulating system
|
---|
5 | * Provided under the GPL v2
|
---|
6 | */
|
---|
7 |
|
---|
8 | #ifndef MR_SYS_H
|
---|
9 | #define MR_SYS_H
|
---|
10 |
|
---|
11 | #ifndef _GNU_SOURCE
|
---|
12 | #define _GNU_SOURCE
|
---|
13 | #endif
|
---|
14 | #include <stdarg.h>
|
---|
15 | #include <stdio.h>
|
---|
16 | #include "mr_msg.h"
|
---|
17 | #include "mr_std.h"
|
---|
18 |
|
---|
19 | /* Internal function bringing debuging info
|
---|
20 | * called indirectly through macros */
|
---|
21 | MR_EXTERN int mr_system_int(int line, const char *file, const char *fmt, ...);
|
---|
22 |
|
---|
23 | /* functions (public methods) */
|
---|
24 | #define mr_system(y,args...) mr_system_int(__LINE__,__FILE__,y,## args)
|
---|
25 |
|
---|
26 | /* Global variables */
|
---|
27 |
|
---|
28 | extern int mr_loglevel;
|
---|
29 | extern char *mr_logfile;
|
---|
30 |
|
---|
31 | #endif /* MR_SYS_H */
|
---|
Note:
See
TracBrowser
for help on using the repository browser.