]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - hurd/hurd-raise.c
hurd: Avoid more libc.so PLTs
[thirdparty/glibc.git] / hurd / hurd-raise.c
index 8b91c39d40e3ebb6b59c60b3afce6bfe14efa4c5..9fe5541311bc44661a351ae488d94f0cce8828fe 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1994,95,96,97,99 Free Software Foundation, Inc.
+/* Copyright (C) 1994-2018 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -24,7 +24,7 @@
    If SS is not NULL it is the sigstate for the calling thread;
    SS->lock is held on entry and released before return.  */
 
-void
+int
 _hurd_raise_signal (struct hurd_sigstate *ss,
                    int signo, const struct hurd_signal_detail *detail)
 {
@@ -46,5 +46,6 @@ _hurd_raise_signal (struct hurd_sigstate *ss,
      already marked the signal as pending for the particular thread we
      want.  Generating the signal with an RPC might deliver it to some
      other thread.  */
-  __msg_sig_post (_hurd_msgport, 0, 0, __mach_task_self ());
+  return __msg_sig_post (_hurd_msgport, 0, 0, __mach_task_self ());
 }
+libc_hidden_def (_hurd_raise_signal)