Don't define a variable as both static and extern.

This commit is contained in:
joerg 2012-11-18 01:54:02 +00:00
parent 7a8f93ea3e
commit 627250b1c0
2 changed files with 15 additions and 1 deletions

View file

@ -1,5 +1,6 @@
$NetBSD: distinfo,v 1.6 2012/01/26 11:46:22 rhaen Exp $
$NetBSD: distinfo,v 1.7 2012/11/18 01:54:02 joerg Exp $
SHA1 (EV-4.10.tar.gz) = af7c0f31abcef06125b84f4476d0c9a7a9629ced
RMD160 (EV-4.10.tar.gz) = b7527ee583507e624a95ea227f67076537dbb93c
Size (EV-4.10.tar.gz) = 181424 bytes
SHA1 (patch-libev_ev.h) = f90dccab5b57b4daa5408f6c9bc39527bc76d354

View file

@ -0,0 +1,13 @@
$NetBSD: patch-libev_ev.h,v 1.1 2012/11/18 01:54:02 joerg Exp $
--- libev/ev.h.orig 2012-11-17 12:01:52.000000000 +0000
+++ libev/ev.h
@@ -549,8 +549,6 @@ EV_API_DECL struct ev_loop *ev_default_l
EV_INLINE struct ev_loop *
ev_default_loop_uc_ (void)
{
- extern struct ev_loop *ev_default_loop_ptr;
-
return ev_default_loop_ptr;
}