mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Jean Tourrilhes <jt@bougret.hpl.hp.com>
To: "David S. Miller" <davem@redhat.com>,
	Linux kernel mailing list <linux-kernel@vger.kernel.org>
Subject: [PATCH 2.6 IrDA] (3/14) hashbin export symbols
Date: Tue, 9 Mar 2004 11:05:12 -0800	[thread overview]
Message-ID: <20040309190512.GD14543@bougret.hpl.hp.com> (raw)

ir264_irsyms_03_hashbin.diff :
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
		<Patch from Stephen Hemminger>
(3/14) hashbin export symbols

Move hashbin_X exports out of irsyms and into irqueue.


diff -u -p -r linux/net/irda.s2/irqueue.c linux/net/irda/irqueue.c
--- linux/net/irda.s2/irqueue.c	Wed Mar  3 17:02:55 2004
+++ linux/net/irda/irqueue.c	Mon Mar  8 18:55:49 2004
@@ -191,6 +191,7 @@
  *
  * Jean II
  */
+#include <linux/module.h>
 
 #include <net/irda/irda.h>
 #include <net/irda/irqueue.h>
@@ -374,6 +375,7 @@ hashbin_t *hashbin_new(int type)
 
 	return hashbin;
 }
+EXPORT_SYMBOL(hashbin_new);
 
 
 /*
@@ -427,6 +429,7 @@ int hashbin_delete( hashbin_t* hashbin, 
 
 	return 0;
 }
+EXPORT_SYMBOL(hashbin_delete);
 
 /********************* HASHBIN LIST OPERATIONS *********************/
 
@@ -478,6 +481,7 @@ void hashbin_insert(hashbin_t* hashbin, 
 		spin_unlock_irqrestore(&hashbin->hb_spinlock, flags);
 	} /* Default is no-lock  */
 }
+EXPORT_SYMBOL(hashbin_insert);
 
 /* 
  *  Function hashbin_remove_first (hashbin)
@@ -628,6 +632,7 @@ void* hashbin_remove( hashbin_t* hashbin
 		return NULL;
 	
 }
+EXPORT_SYMBOL(hashbin_remove);
 
 /* 
  *  Function hashbin_remove_this (hashbin, entry)
@@ -690,6 +695,7 @@ void* hashbin_remove_this( hashbin_t* ha
 
 	return entry;
 }
+EXPORT_SYMBOL(hashbin_remove_this);
 
 /*********************** HASHBIN ENUMERATION ***********************/
 
@@ -743,6 +749,7 @@ void* hashbin_find( hashbin_t* hashbin, 
 
 	return NULL;
 }
+EXPORT_SYMBOL(hashbin_find);
 
 /*
  * Function hashbin_lock_find (hashbin, hashv, name)
@@ -771,6 +778,7 @@ void* hashbin_lock_find( hashbin_t* hash
 
 	return entry;
 }
+EXPORT_SYMBOL(hashbin_lock_find);
 
 /*
  * Function hashbin_find (hashbin, hashv, name, pnext)
@@ -812,6 +820,7 @@ void* hashbin_find_next( hashbin_t* hash
 
 	return entry;
 }
+EXPORT_SYMBOL(hashbin_find_next);
 
 /*
  * Function hashbin_get_first (hashbin)
@@ -843,6 +852,7 @@ irda_queue_t *hashbin_get_first( hashbin
 	 */
 	return NULL;
 }
+EXPORT_SYMBOL(hashbin_get_first);
 
 /*
  * Function hashbin_get_next (hashbin)
@@ -900,3 +910,4 @@ irda_queue_t *hashbin_get_next( hashbin_
 	}
 	return NULL;
 }
+EXPORT_SYMBOL(hashbin_get_next);
diff -u -p -r linux/net/irda.s2/irsyms.c linux/net/irda/irsyms.c
--- linux/net/irda.s2/irsyms.c	Mon Mar  8 18:53:59 2004
+++ linux/net/irda/irsyms.c	Mon Mar  8 18:55:49 2004
@@ -129,18 +129,6 @@ EXPORT_SYMBOL(irlmp_get_saddr);
 EXPORT_SYMBOL(irlmp_dup);
 EXPORT_SYMBOL(lmp_reasons);
 
-/* Queue */
-EXPORT_SYMBOL(hashbin_new);
-EXPORT_SYMBOL(hashbin_insert);
-EXPORT_SYMBOL(hashbin_delete);
-EXPORT_SYMBOL(hashbin_remove);
-EXPORT_SYMBOL(hashbin_remove_this);
-EXPORT_SYMBOL(hashbin_find);
-EXPORT_SYMBOL(hashbin_lock_find);
-EXPORT_SYMBOL(hashbin_find_next);
-EXPORT_SYMBOL(hashbin_get_next);
-EXPORT_SYMBOL(hashbin_get_first);
-
 /* IrLAP */
 EXPORT_SYMBOL(irlap_open);
 EXPORT_SYMBOL(irlap_close);

                 reply	other threads:[~2004-03-09 19:07 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040309190512.GD14543@bougret.hpl.hp.com \
    --to=jt@bougret.hpl.hp.com \
    --cc=davem@redhat.com \
    --cc=jt@hpl.hp.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®