]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - posix/spawn_faction_addopen.c
posix: Use posix_spawn for wordexp
[thirdparty/glibc.git] / posix / spawn_faction_addopen.c
index d5694ee4d7b1b9581a16726ac1478eed12a48f6b..4fd64bb0053c2682cb8bd104f87306776d0b0acf 100644 (file)
@@ -25,9 +25,9 @@
 /* Add an action to FILE-ACTIONS which tells the implementation to call
    `open' for the given file during the `spawn' call.  */
 int
-posix_spawn_file_actions_addopen (posix_spawn_file_actions_t *file_actions,
-                                 int fd, const char *path, int oflag,
-                                 mode_t mode)
+__posix_spawn_file_actions_addopen (posix_spawn_file_actions_t *file_actions,
+                                   int fd, const char *path, int oflag,
+                                   mode_t mode)
 {
   struct __spawn_action *rec;
 
@@ -60,3 +60,5 @@ posix_spawn_file_actions_addopen (posix_spawn_file_actions_t *file_actions,
 
   return 0;
 }
+weak_alias (__posix_spawn_file_actions_addopen,
+           posix_spawn_file_actions_addopen)