~ubuntu-branches/ubuntu/precise/xdm/precise

« back to all changes in this revision

Viewing changes to dm_error.h

  • Committer: Bazaar Package Importer
  • Author(s): Artur Rona
  • Date: 2011-01-30 00:53:09 UTC
  • mfrom: (9.1.4 sid)
  • Revision ID: james.westby@ubuntu.com-20110130005309-30mjjyk7div7d494
Tags: 1:1.1.10-3ubuntu1
* Merge from debian unstable.  Remaining changes: (LP: #682196)
  - debian/{rules, xdm.install, local/ubuntu*}:
    + Add Ubuntu graphics and configure xdm to use them by default.
  - debian/patches/ubuntu_no_whiteglass.diff: Don't hardcode
    the default Xcursor theme to whiteglass. Use the Ubuntu
    default x-cursor-theme instead.
* debian/patches/ftbfs_binutils-gold.diff: Fix FTBFS with binutils-gold
  and ld --as-needed. (Closes: #556694)
* Dropped changes, no longer applicable:
  - debian/{xdm.postinst.in, xdm.postrm.in, xdm.preinst.in}

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*
2
 
 * $XFree86$
3
 
 */
4
 
 
5
1
/************************************************************
6
2
 
7
3
Copyright 1998 by Thomas E. Dickey <dickey@clark.net>
36
32
 
37
33
 
38
34
#ifndef _DM_ERROR_H_
39
 
#define _DM_ERROR_H_ 1
40
 
 
41
 
#if defined(GCC_PRINTFLIKE) && defined(__GNUC__)
42
 
# define GCC_PRINTFLIKE(fmt,var) __attribute__((format(printf,fmt,var)))
43
 
#else
44
 
# define GCC_PRINTFLIKE(fmt,var) /*nothing*/
45
 
#endif
46
 
 
47
 
extern void Debug        (char * fmt, ...) GCC_PRINTFLIKE(1,2);
 
35
# define _DM_ERROR_H_ 1
 
36
 
 
37
# if defined(GCC_PRINTFLIKE) && defined(__GNUC__)
 
38
#  define GCC_PRINTFLIKE(fmt,var) __attribute__((format(printf,fmt,var)))
 
39
# else
 
40
#  define GCC_PRINTFLIKE(fmt,var) /*nothing*/
 
41
# endif
 
42
 
 
43
extern void Debug        (const char * fmt, ...) GCC_PRINTFLIKE(1,2);
48
44
extern void InitErrorLog (void);
49
 
extern void LogError     (char * fmt, ...) GCC_PRINTFLIKE(1,2);
50
 
extern void LogInfo      (char * fmt, ...) GCC_PRINTFLIKE(1,2);
51
 
extern void LogOutOfMem  (char * fmt, ...) GCC_PRINTFLIKE(1,2);
52
 
extern void LogPanic     (char * fmt, ...) GCC_PRINTFLIKE(1,2);
 
45
extern void LogAppend    (const char * fmt, ...) GCC_PRINTFLIKE(1,2);
 
46
extern void LogError     (const char * fmt, ...) GCC_PRINTFLIKE(1,2);
 
47
extern void LogInfo      (const char * fmt, ...) GCC_PRINTFLIKE(1,2);
 
48
extern void LogOutOfMem  (const char * fmt, ...) GCC_PRINTFLIKE(1,2);
 
49
extern void LogPanic     (const char * fmt, ...) GCC_PRINTFLIKE(1,2);
53
50
 
54
51
 
55
52
#endif /* _DM_ERROR_H_ */