/[gentoo-alt]/trunk/baselayout-prefix/src/start-stop-daemon.c
Gentoo

Diff of /trunk/baselayout-prefix/src/start-stop-daemon.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1682 Revision 1687
35#define NONRETURNPRINTFFORMAT(x, y) \ 35#define NONRETURNPRINTFFORMAT(x, y) \
36 __attribute__((noreturn, format(printf, x, y))) 36 __attribute__((noreturn, format(printf, x, y)))
37#define NONRETURNING \ 37#define NONRETURNING \
38 __attribute__((noreturn)) 38 __attribute__((noreturn))
39 39
40#define HAVE_TERMIOS_H
41#undef HAVE_SYS_TERMIOS_H
42
40#if defined(linux) || (defined(__FreeBSD_kernel__) && defined(__GLIBC__)) 43#if defined(linux) || (defined(__FreeBSD_kernel__) && defined(__GLIBC__))
41# define OSLinux 44# define OSLinux
42#elif defined(__GNU__) 45#elif defined(__GNU__)
43# define OSHURD 46# define OSHURD
44#elif defined(__sparc__) 47#elif defined(__sparc__)
95#include <getopt.h> 98#include <getopt.h>
96#include <pwd.h> 99#include <pwd.h>
97#include <grp.h> 100#include <grp.h>
98#include <sys/ioctl.h> 101#include <sys/ioctl.h>
99#include <sys/types.h> 102#include <sys/types.h>
103#if defined(HAVE_TERMIOS_H)
104# include <termios.h>
105#elif defined(HAVE_SYS_TERMIOS_H)
100#include <sys/termios.h> 106# include <sys/termios.h>
107#endif
101#include <fcntl.h> 108#include <fcntl.h>
102#include <limits.h> 109#include <limits.h>
103#include <assert.h> 110#include <assert.h>
104#include <ctype.h> 111#include <ctype.h>
105 112

Legend:
Removed from v.1682  
changed lines
  Added in v.1687

  ViewVC Help
Powered by ViewVC 1.1.20