[Midnightbsd-cvs] src [10972] trunk/include/regex.h: fix const
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Fri Jun 15 14:56:28 EDT 2018
Revision: 10972
http://svnweb.midnightbsd.org/src/?rev=10972
Author: laffer1
Date: 2018-06-15 14:56:28 -0400 (Fri, 15 Jun 2018)
Log Message:
-----------
fix const
Modified Paths:
--------------
trunk/include/regex.h
Modified: trunk/include/regex.h
===================================================================
--- trunk/include/regex.h 2018-06-15 18:56:07 UTC (rev 10971)
+++ trunk/include/regex.h 2018-06-15 18:56:28 UTC (rev 10972)
@@ -1,3 +1,4 @@
+/* $MidnightBSD$ */
/*-
* Copyright (c) 1992 Henry Spencer.
* Copyright (c) 1992, 1993
@@ -31,7 +32,7 @@
* SUCH DAMAGE.
*
* @(#)regex.h 8.2 (Berkeley) 1/3/94
- * $MidnightBSD$
+ * $FreeBSD: stable/10/include/regex.h 228468 2011-12-13 13:32:56Z ed $
*/
#ifndef _REGEX_H_
@@ -51,7 +52,7 @@
typedef struct {
int re_magic;
size_t re_nsub; /* number of parenthesized subexpressions */
- __const char *re_endp; /* end pointer for REG_PEND */
+ const char *re_endp; /* end pointer for REG_PEND */
struct re_guts *re_g; /* none of your business :-) */
} regex_t;
More information about the Midnightbsd-cvs
mailing list