summaryrefslogtreecommitdiffstats
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
commit3b50d03ae9c188fdb90ee7a625ba155f665aa8e0 (patch)
tree6c83191a7891bfb4449e4c61bcf944ae968319b7 /dln.c
parent719e53d806d4ccc8ff28206dfb98cc8e75a2b3c1 (diff)
downloadruby-3b50d03ae9c188fdb90ee7a625ba155f665aa8e0.tar.gz
ruby-3b50d03ae9c188fdb90ee7a625ba155f665aa8e0.tar.xz
ruby-3b50d03ae9c188fdb90ee7a625ba155f665aa8e0.zip
fix typos.
git-svn-id: http://svn.ruby-lang.org/repos/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 bf72ade86..8b1556eed 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",