ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/hopm/trunk/src/log.h
(Generate patch)

Comparing hopm/trunk/src/log.h (file contents):
Revision 5647 by michael, Sun Mar 8 13:15:45 2015 UTC vs.
Revision 6974 by michael, Sun Dec 20 16:58:43 2015 UTC

# Line 21 | Line 21
21   #ifndef LOG_H
22   #define LOG_H
23  
24 + enum { LOG_BUFSIZE = 512 };
25 +
26   extern void log_open(const char *);
27   extern void log_close(void);
28   extern void scanlog_open(const char *);
29   extern void scanlog_close(void);
30   #ifdef __GNUC__
31 < extern void log_printf(const char *data, ...) __attribute__((format(printf,1,2)));
31 > extern void log_printf(const char *, ...) __attribute__((format(printf,1,2)));
32   #else
33 < extern void log_printf(const char *data, ...);
33 > extern void log_printf(const char *, ...);
34   #endif
35   #endif

Diff Legend

Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)