ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/hopm/trunk/src/log.h
Revision: 5072
Committed: Mon Dec 22 15:33:29 2014 UTC (10 years, 8 months ago) by michael
Content type: text/x-chdr
File size: 339 byte(s)
Log Message:
- Fixed a bunch of compile warnings

File Contents

# User Rev Content
1 michael 5052 #ifndef LOG_H
2     #define LOG_H
3    
4     extern void log_open(char *filename);
5     extern void log_close(void);
6     extern void scanlog_open(char *filename);
7     extern void scanlog_close(void);
8     #ifdef __GNUC__
9 michael 5072 extern void log_printf(const char *data, ...) __attribute__((format(printf,1,2)));
10 michael 5052 #else
11 michael 5072 extern void log_printf(const char *data, ...);
12 michael 5052 #endif
13    
14     #endif
15