~ubuntu-branches/ubuntu/gutsy/m4/gutsy

« back to all changes in this revision

Viewing changes to lib/stdlib_.h

  • Committer: Bazaar Package Importer
  • Author(s): Matthias Klose
  • Date: 2007-08-01 14:00:55 UTC
  • mfrom: (1.5.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20070801140055-ob48jo517shsyvgk
Tags: 1.4.10-0ubuntu1
New upstream version.

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
#if defined __need_malloc_and_calloc
20
20
/* Special invocation convention inside glibc header files.  */
21
21
 
22
 
/* This #pragma avoids a warning with "gcc -Wall" on some glibc systems
23
 
   on which <stdlib.h> has an inappropriate declaration, see
24
 
   <http://sourceware.org/bugzilla/show_bug.cgi?id=1079>.  */
25
 
#ifdef __GNUC__
26
 
# pragma GCC system_header
27
 
#endif
28
 
 
29
 
#include @ABSOLUTE_STDLIB_H@
 
22
#@INCLUDE_NEXT@ @NEXT_STDLIB_H@
30
23
 
31
24
#else
32
25
/* Normal invocation convention.  */
 
26
 
 
27
#ifndef _GL_STDLIB_H
 
28
 
 
29
/* The include_next requires a split double-inclusion guard.  */
 
30
#@INCLUDE_NEXT@ @NEXT_STDLIB_H@
 
31
 
33
32
#ifndef _GL_STDLIB_H
34
33
#define _GL_STDLIB_H
35
34
 
36
 
/* This #pragma avoids a warning with "gcc -Wall" on some glibc systems
37
 
   on which <stdlib.h> has an inappropriate declaration, see
38
 
   <http://sourceware.org/bugzilla/show_bug.cgi?id=1079>.  */
39
 
#ifdef __GNUC__
40
 
# pragma GCC system_header
41
 
#endif
42
 
 
43
 
#include @ABSOLUTE_STDLIB_H@
44
 
 
45
35
 
46
36
/* The definition of GL_LINK_WARNING is copied here.  */
47
37
 
96
86
   they are replaced with a string that makes the directory name unique.
97
87
   Returns TEMPLATE, or a null pointer if it cannot get a unique name.
98
88
   The directory is created mode 700.  */
99
 
extern char * mkdtemp (char *template);
 
89
extern char * mkdtemp (char * /*template*/);
100
90
# endif
101
91
#elif defined GNULIB_POSIXCHECK
102
92
# undef mkdtemp
119
109
   Returns the open file descriptor if successful, otherwise -1 and errno
120
110
   set.  */
121
111
#  define mkstemp rpl_mkstemp
122
 
extern int mkstemp (char *template);
 
112
extern int mkstemp (char * /*template*/);
123
113
# else
124
114
/* On MacOS X 10.3, only <unistd.h> declares mkstemp.  */
125
115
#  include <unistd.h>
138
128
#endif
139
129
 
140
130
#endif /* _GL_STDLIB_H */
 
131
#endif /* _GL_STDLIB_H */
141
132
#endif