~ubuntu-branches/ubuntu/wily/gsasl/wily-proposed

« back to all changes in this revision

Viewing changes to gl/sys_time.in.h

  • Committer: Bazaar Package Importer
  • Author(s): Jamie Strandboge
  • Date: 2010-04-14 07:26:51 UTC
  • mfrom: (2.1.9 experimental)
  • Revision ID: james.westby@ubuntu.com-20100414072651-hoc2231ulo8onq2x
Tags: 1.4.4-1ubuntu1
* Merge from Debian experimental (LP: #548480). Bugfix only release.
  Remaining changes:
  - debian/rules: Include clean-la.mk from cdbs to clean up the
    dependency_libs field in libgsasl.la.
* debian/control: drop libgsasl7 Depends on libgcrypt to what we have in
  Lucid (1.4.4-5). See Debian bug #564661.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/* Provide a more complete sys/time.h.
2
2
 
3
 
   Copyright (C) 2007-2008 Free Software Foundation, Inc.
 
3
   Copyright (C) 2007-2010 Free Software Foundation, Inc.
4
4
 
5
5
   This program is free software; you can redistribute it and/or modify
6
6
   it under the terms of the GNU General Public License as published by
39
39
#  include <time.h>
40
40
# endif
41
41
 
 
42
/* The definition of _GL_ARG_NONNULL is copied here.  */
 
43
 
 
44
/* The definition of _GL_WARN_ON_USE is copied here.  */
 
45
 
42
46
#ifdef __cplusplus
43
47
extern "C" {
44
48
#endif
51
55
};
52
56
# endif
53
57
 
54
 
# if @REPLACE_GETTIMEOFDAY@
 
58
# if @GNULIB_GETTIMEOFDAY@
 
59
#  if @REPLACE_GETTIMEOFDAY@
 
60
#   undef gettimeofday
 
61
#   define gettimeofday rpl_gettimeofday
 
62
extern int gettimeofday (struct timeval *restrict, void *restrict)
 
63
     _GL_ARG_NONNULL ((1));
 
64
#  endif
 
65
# elif defined GNULIB_POSIXCHECK
55
66
#  undef gettimeofday
56
 
#  define gettimeofday rpl_gettimeofday
57
 
int gettimeofday (struct timeval *restrict, void *restrict);
 
67
#  if HAVE_RAW_DECL_GETTIMEOFDAY
 
68
_GL_WARN_ON_USE (gettimeofday, "gettimeofday is unportable - "
 
69
                 "use gnulib module gettimeofday for portability");
 
70
#  endif
58
71
# endif
59
72
 
60
73
#ifdef __cplusplus