summaryrefslogtreecommitdiffstats
path: root/lib/libthr/thread/thr_main_np.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libthr/thread/thr_main_np.c')
-rw-r--r--lib/libthr/thread/thr_main_np.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/lib/libthr/thread/thr_main_np.c b/lib/libthr/thread/thr_main_np.c
index bfa8b87..9558adf 100644
--- a/lib/libthr/thread/thr_main_np.c
+++ b/lib/libthr/thread/thr_main_np.c
@@ -23,10 +23,11 @@
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
- *
- * $FreeBSD$
*/
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
+
#include "namespace.h"
#include <pthread.h>
#include <pthread_np.h>
@@ -37,10 +38,10 @@
__weak_reference(_pthread_main_np, pthread_main_np);
/*
- * Provide the equivelant to Solaris thr_main() function
+ * Provide the equivalent to Solaris thr_main() function.
*/
int
-_pthread_main_np()
+_pthread_main_np(void)
{
if (!_thr_initial)
OpenPOWER on IntegriCloud