From 57eac0f84b7fe02eee8607eff91051eeef6e74ba Mon Sep 17 00:00:00 2001 From: "Peter S. Mazinger" Date: Mon, 28 Nov 2005 22:03:45 +0000 Subject: Allow internal_function to come from libc --- libc/misc/regex/regex.c | 1 - libc/misc/regex/regex_internal.h | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/libc/misc/regex/regex.c b/libc/misc/regex/regex.c index f63d9392f..5e09af6d9 100644 --- a/libc/misc/regex/regex.c +++ b/libc/misc/regex/regex.c @@ -27,7 +27,6 @@ #ifdef __UCLIBC__ #undef _LIBC -#undef internal_function #define _REGEX_RE_COMP #include #include diff --git a/libc/misc/regex/regex_internal.h b/libc/misc/regex/regex_internal.h index 5a4d9393d..14d14da3c 100644 --- a/libc/misc/regex/regex_internal.h +++ b/libc/misc/regex/regex_internal.h @@ -369,7 +369,7 @@ typedef struct re_string_t re_string_t; struct re_dfa_t; typedef struct re_dfa_t re_dfa_t; -#ifndef _LIBC +#if !defined _LIBC && !defined __UCLIBC__ # ifdef __i386__ # define internal_function __attribute ((regparm (3), stdcall)) # else -- cgit v1.2.3