X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=regex.h;h=a495005ce93665611dafd1a267dd8e65f450fb8d;hb=760d9074e721bbffc97ca68eb48c06a248727c4e;hp=8217fc0ea01892322835aa6604c85311d9e4059c;hpb=c55dc5b1f4d882882b0a131b003edb962c869a72;p=gnulib.git diff --git a/regex.h b/regex.h index 8217fc0ea..a495005ce 100644 --- a/regex.h +++ b/regex.h @@ -1,7 +1,7 @@ /* Definitions for data structures and routines for the regular - expression library, version 0.11. + expression library, version 0.12. - Copyright (C) 1985, 89, 90, 91, 92 Free Software Foundation, Inc. + Copyright (C) 1985, 89, 90, 91, 92, 1993 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 @@ -387,18 +387,16 @@ typedef struct prototype (if we are ANSI), and once without (if we aren't) -- we use the following macro to declare argument types. This unfortunately clutters up the declarations a bit, but I think it's - worth it. - - We may also have to undo `const' if we are not ANSI -- but if it has - already been defined, as by Autoconf's AC_CONST, don't do anything. */ + worth it. */ #if __STDC__ + #define _RE_ARGS(args) args + #else /* not __STDC__ */ + #define _RE_ARGS(args) () -#if !const && !HAVE_CONST -#define const -#endif + #endif /* not __STDC__ */ /* Sets the current default syntax to SYNTAX, and return the old syntax.