OSDN Git Service

* decContext.c (decContextSetStatusFromString): Constify.
[pf3gnuchains/gcc-fork.git] / libdecnumber / decContext.h
index 2011025..d2e18db 100644 (file)
@@ -1,5 +1,5 @@
 /* Decimal Context module header for the decNumber C Library
-   Copyright (C) 2005 Free Software Foundation, Inc.
+   Copyright (C) 2005, 2006 Free Software Foundation, Inc.
    Contributed by IBM Corporation.  Author Mike Cowlishaw.
 
    This file is part of GCC.
@@ -16,8 +16,8 @@
 
    You should have received a copy of the GNU General Public License
    along with GCC; see the file COPYING.  If not, write to the Free
-   Software Foundation, 59 Temple Place - Suite 330, Boston, MA
-   02111-1307, USA.  */
+   Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA
+   02110-1301, USA.  */
 
 /* ------------------------------------------------------------------ */
 /*                                                                    */
@@ -40,9 +40,7 @@
 #define DECCFULLNAME "Decimal Context Descriptor"      /* Verbose name */
 #define DECCAUTHOR   "Mike Cowlishaw"  /* Who to blame */
 
-#ifdef HAVE_STDINT_H
-#include <stdint.h>            /* C99 standard integers */
-#endif
+#include "gstdint.h"           /* C99 standard integers */
 #include <signal.h>            /* for traps */
 
 
@@ -175,6 +173,6 @@ typedef struct
 decContext *decContextDefault (decContext *, int32_t);
 decContext *decContextSetStatus (decContext *, uint32_t);
 const char *decContextStatusToString (decContext *);
-decContext *decContextSetStatusFromString (decContext *, char *);
+decContext *decContextSetStatusFromString (decContext *, const char *);
 
 #endif