commit-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

hurd/libiohelp shared.c


From: Roland McGrath
Subject: hurd/libiohelp shared.c
Date: Fri, 01 Nov 2002 21:36:06 -0500

CVSROOT:        /cvsroot/hurd
Module name:    hurd
Changes by:     Roland McGrath <address@hidden> 02/11/01 21:36:05

Modified files:
        libiohelp      : shared.c 

Log message:
        2002-11-01  Roland McGrath  <address@hidden>
        
        * shared.c (iohelp_fetch_shared_data, iohelp_put_shared_data): Put
        __attribute__((weak)) directly in the defns.

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/hurd/hurd/libiohelp/shared.c.diff?tr1=1.1&tr2=1.2&r1=text&r2=text

Patches:
Index: hurd/libiohelp/shared.c
diff -u hurd/libiohelp/shared.c:1.1 hurd/libiohelp/shared.c:1.2
--- hurd/libiohelp/shared.c:1.1 Mon Nov 18 18:48:14 1996
+++ hurd/libiohelp/shared.c     Fri Nov  1 21:36:05 2002
@@ -1,5 +1,5 @@
 /* Default functions
-   Copyright (C) 1996 Free Software Foundation
+   Copyright (C) 1996, 2002 Free Software Foundation, Inc.
 
    This program is free software; you can redistribute it and/or
    modify it under the terms of the GNU General Public License as
@@ -20,22 +20,14 @@
 
 /* These definitions exist to satisfy the linker. */
 
-
-void
+void __attribute__ ((weak))
 iohelp_fetch_shared_data (void *foo)
 {
   abort ();
 }
 
-void
+void __attribute__ ((weak))
 iohelp_put_shared_data (void *foo)
 {
   abort ();
 }
-
-
-void
-iohelp_fetch_shared_data (void *foo) __attribute__ ((weak));
-void
-iohelp_put_shared_data (void *foo) __attribute__ ((weak));
-




reply via email to

[Prev in Thread] Current Thread [Next in Thread]