dotgnu-pnet-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Dotgnu-pnet-commits] CVS: pnet/include il_regex.h,1.1,1.2


From: Rhys Weatherley <address@hidden>
Subject: [Dotgnu-pnet-commits] CVS: pnet/include il_regex.h,1.1,1.2
Date: Sat, 21 Dec 2002 00:13:28 -0500

Update of /cvsroot/dotgnu-pnet/pnet/include
In directory subversions:/tmp/cvs-serv32644/include

Modified Files:
        il_regex.h 
Log Message:


Remove references to "__restrict" because they interfere with more
recent versions of glibc.


Index: il_regex.h
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/include/il_regex.h,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** il_regex.h  14 Dec 2002 22:42:27 -0000      1.1
--- il_regex.h  21 Dec 2002 05:13:25 -0000      1.2
***************
*** 537,540 ****
--- 537,541 ----
  #endif
  
+ #if 0
  /* GCC 2.95 and later have "__restrict"; C99 compilers have
     "restrict", and "configure" may have defined "restrict".  */
***************
*** 552,564 ****
     it to restrict.  */
  #define __restrict_arr
  
  /* POSIX compatibility.  */
! extern int regcomp _RE_ARGS ((regex_t *__restrict __preg,
!                             const char *__restrict __pattern,
                              int __cflags));
  
! extern int regexec _RE_ARGS ((const regex_t *__restrict __preg,
!                             const char *__restrict __string, size_t __nmatch,
!                             regmatch_t __pmatch[__restrict_arr],
                              int __eflags));
  
--- 553,566 ----
     it to restrict.  */
  #define __restrict_arr
+ #endif
  
  /* POSIX compatibility.  */
! extern int regcomp _RE_ARGS ((regex_t *__preg,
!                             const char *__pattern,
                              int __cflags));
  
! extern int regexec _RE_ARGS ((const regex_t *__preg,
!                             const char *__string, size_t __nmatch,
!                             regmatch_t __pmatch[],
                              int __eflags));
  




reply via email to

[Prev in Thread] Current Thread [Next in Thread]