summaryrefslogtreecommitdiff
path: root/dln.c
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-11-03 17:46:28 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-11-03 17:46:28 +0000
commitb9e0294edaceecb177401902f3809a45af666d7e (patch)
tree6c83191a7891bfb4449e4c61bcf944ae968319b7 /dln.c
parentc30e32d075478c62580c7d3f5699c2c477503b41 (diff)
fix typos.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25635 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'dln.c')
-rw-r--r--dln.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/dln.c b/dln.c
index bf72ade..8b1556e 100644
--- a/dln.c
+++ b/dln.c
@@ -1398,7 +1398,7 @@ dln_load(const char *file)
NXClose(s);
/* Cannot call *init_address directory, so copy this value to
- funtion pointer */
+ function pointer */
init_fct = (void(*)())init_address;
(*init_fct)();
return (void*)init_address;
@@ -1437,10 +1437,10 @@ dln_load(const char *file)
# define DLN_DEFINED
{
status_t err_stat; /* BeOS error status code */
- image_id img_id; /* extention module unique id */
- void (*init_fct)(); /* initialize function for extention module */
+ image_id img_id; /* extension module unique id */
+ void (*init_fct)(); /* initialize function for extension module */
- /* load extention module */
+ /* load extension module */
img_id = load_add_on(file);
if (img_id <= 0) {
dln_loaderror("Failed to load add_on %.200s error_code=%x",