[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-gnulib] posixver patch to assume C89 or better
From: |
Paul Eggert |
Subject: |
[Bug-gnulib] posixver patch to assume C89 or better |
Date: |
09 Sep 2003 20:52:51 -0700 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 |
I installed this:
2003-09-09 Paul Eggert <address@hidden>
* posixver.c (getenv): Remove decl.
* posixver.m4 (gl_POSIXVER): Don't check for getenv.
Index: lib/posixver.c
===================================================================
RCS file: /cvsroot/gnulib/gnulib/lib/posixver.c,v
retrieving revision 1.2
diff -p -u -r1.2 posixver.c
--- lib/posixver.c 9 Jul 2003 22:48:53 -0000 1.2
+++ lib/posixver.c 10 Sep 2003 03:48:36 -0000
@@ -1,6 +1,6 @@
/* Which POSIX version to conform to, for utilities.
- Copyright (C) 2002 Free Software Foundation, Inc.
+ Copyright (C) 2002, 2003 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -23,11 +23,7 @@
#endif
#include <limits.h>
-
#include <stdlib.h>
-#if !HAVE_DECL_GETENV && !defined getenv
-char *getenv ();
-#endif
#if HAVE_UNISTD_H
# include <unistd.h>
Index: m4/posixver.m4
===================================================================
RCS file: /cvsroot/gnulib/gnulib/m4/posixver.m4,v
retrieving revision 1.1
diff -p -u -r1.1 posixver.m4
--- m4/posixver.m4 31 Dec 2002 13:42:07 -0000 1.1
+++ m4/posixver.m4 10 Sep 2003 03:48:36 -0000
@@ -1,5 +1,5 @@
-# posixver.m4 serial 1
-dnl Copyright (C) 2002 Free Software Foundation, Inc.
+# posixver.m4 serial 2
+dnl Copyright (C) 2002, 2003 Free Software Foundation, Inc.
dnl This file is free software, distributed under the terms of the GNU
dnl General Public License. As a special exception to the GNU General
dnl Public License, this file may be distributed as part of a program
@@ -9,5 +9,4 @@ dnl the same distribution terms as the r
AC_DEFUN([gl_POSIXVER],
[
AC_CHECK_HEADERS_ONCE(unistd.h)
- AC_CHECK_DECLS_ONCE(getenv)
])
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Bug-gnulib] posixver patch to assume C89 or better,
Paul Eggert <=