summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2005-11-28 22:03:45 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2005-11-28 22:03:45 +0000
commit57eac0f84b7fe02eee8607eff91051eeef6e74ba (patch)
tree14d68d7dc0d1c5314cfb5aa0743439bfb90ea72c
parent09cce1e0487d0d2882d0104a5a2148221a9e3db6 (diff)
Allow internal_function to come from libc
-rw-r--r--libc/misc/regex/regex.c1
-rw-r--r--libc/misc/regex/regex_internal.h2
2 files changed, 1 insertions, 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 <stdbool.h>
#include <stdint.h>
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