Last change
on this file was 3845, checked in by Bruno Cornec, 7 months ago |
Fix compiler warnings for FILE handling
|
-
Property svn:eol-style
set to
native
|
File size:
656 bytes
|
Rev | Line | |
---|
[3498] | 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>
|
---|
[3509] | 16 | #include "mr_msg.h"
|
---|
[3708] | 17 | #include "mr_std.h"
|
---|
[3498] | 18 |
|
---|
| 19 | /* Internal function bringing debuging info
|
---|
| 20 | * called indirectly through macros */
|
---|
[3845] | 21 | MR_EXTERN int mr_system_int(int line, const char *file, const char *fmt, ...);
|
---|
[3498] | 22 |
|
---|
[3509] | 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 |
|
---|
[3498] | 31 | #endif /* MR_SYS_H */
|
---|
Note:
See
TracBrowser
for help on using the repository browser.