chiark / gitweb /
Make run_directory.c stat the place it is going to try to run.
[elogind.git] / klibc / klibc / strchr.c
index 192f83600c0220460cca0774095087a4226cb377..f657095c6bc361743351bce2369cb5654b110cdb 100644 (file)
@@ -3,6 +3,7 @@
  */
 
 #include <string.h>
+#include <klibc/compiler.h>
 
 char *strchr(const char *s, int c)
 {
@@ -14,3 +15,5 @@ char *strchr(const char *s, int c)
 
   return (char *)s;
 }
+
+__ALIAS(char *, index, (const char *, int), strchr)