]> andersk Git - nss_nonlocal.git/blobdiff - nsswitch-internal.h
glibc uses regparms for internal functions on i386.
[nss_nonlocal.git] / nsswitch-internal.h
index 54c4f3c1a13ce4e8cdb5ea0daa41c12ad0966348..3d064a89206ea272dd29b35d60f7698c17f36f63 100644 (file)
@@ -6,6 +6,15 @@
 #ifndef NSSWITCH_INTERNAL_H
 #define NSSWITCH_INTERNAL_H
 
+#include "config.h"
+
+/* glibc/config.h.in */
+#if defined USE_REGPARMS && !defined PROF && !defined __BOUNDED_POINTERS__
+# define internal_function __attribute__ ((regparm (3), stdcall))
+#else
+# define internal_function
+#endif
+
 /* glibc/nss/nsswitch.h */
 typedef struct service_user service_user;
 
This page took 0.037227 seconds and 4 git commands to generate.