Explorar o código

doc: fix spelling errors catched by lintian #688

Victor Seva %!s(int64=9) %!d(string=hai) anos
pai
achega
23c7ea70d3

+ 3 - 3
doc/scripts/cdefs2doc/dump_cfg_defs.pl

@@ -27,7 +27,7 @@
 #  - the first array of type cfg_def_t with an initializer is the array
 #    with the config definitions (name, type, description a.s.o.). Only
 #    one cfg_def array per file is supported.
-#  - the first variable of type struct cfg_group_(.*) , with an intializer,
+#  - the first variable of type struct cfg_group_(.*) , with an initializer,
 #    contains the default values. If no group name is specified on the 
 #    command line (--group) the group name is derived from the struct
 #    name ($1). The default values are optional. Only one such variable is
@@ -119,7 +119,7 @@ Options:
          -g | --grp  name
          --group     name      - config group name used if one cannot be
                                  autodetected (e.g. no default value 
-                                 intializer present in the file).
+                                 initializer present in the file).
          -G | --force-grp name
          --force-group    name - force using a config group name, even if one
                                  is autodetected (see also -g).
@@ -270,7 +270,7 @@ print(STDERR "Parsing file $file...\n") if $dbg;
 # @7705 (var name)  	identifier_node strg: tcp_cfg_def lngt 11
 # @7706 (var type)  	array_type: size:@7709 algn: 32 elts: @2265 domn: @7718
 # @7707 (? next ?  )	function_decl: ....
-# @7708 (intializer)	constructor: lngt: 25
+# @7708 (initializer)	constructor: lngt: 25
 #                                    idx : @20      val : @7723    [...]
 # @7709             	interget_cst: type: @11 low: 5600
 #

+ 1 - 1
doc/scripts/cdefs2doc/dump_counters.pl

@@ -258,7 +258,7 @@ print(STDERR "Parsing file $file...\n") if $dbg;
 # @7705 (var name)  	identifier_node strg: tcp_cfg_def lngt 11
 # @7706 (var type)  	array_type: size:@7709 algn: 32 elts: @2265 domn: @7718
 # @7707 (? next ?  )	function_decl: ....
-# @7708 (intializer)	constructor: lngt: 25
+# @7708 (initializer)	constructor: lngt: 25
 #                                    idx : @20      val : @7723    [...]
 # @7709             	interget_cst: type: @11 low: 5600
 #

+ 3 - 3
doc/scripts/cdefs2doc/dump_rpcs.pl

@@ -28,7 +28,7 @@
 #    with the rpc definitions (name, doc, flags a.s.o.). Only
 #    one rpc_export_t array per file is supported.
 #  - all the documentation arrays referenced in the rpc export array are
-#    defined and intialized in the same file.
+#    defined and initialized in the same file.
 #
 # Output notes:
 #  - doc strings are not printed if they cannot be found
@@ -112,7 +112,7 @@ Options:
          -g | --grp  name
          --group     name      - rpc group name used if one cannot be
                                  autodetected (e.g. no default value 
-                                 intializer present in the file).
+                                 initializer present in the file).
          -G | --force-grp name
          --force-group    name - force using a rpc group name, even if one
                                  is autodetected (see also -g).
@@ -263,7 +263,7 @@ print(STDERR "Parsing file $file...\n") if $dbg;
 # @7705 (var name)  	identifier_node strg: tcp_cfg_def lngt 11
 # @7706 (var type)  	array_type: size:@7709 algn: 32 elts: @2265 domn: @7718
 # @7707 (? next ?  )	function_decl: ....
-# @7708 (intializer)	constructor: lngt: 25
+# @7708 (initializer)	constructor: lngt: 25
 #                                    idx : @20      val : @7723    [...]
 # @7709             	interget_cst: type: @11 low: 5600
 #

+ 1 - 1
doc/scripts/cdefs2doc/dump_selects.pl

@@ -111,7 +111,7 @@ Options:
          -g | --grp  name
          --group     name      - select group name used if one cannot be
                                  autodetected (e.g. no default value 
-                                 intializer present in the file).
+                                 initializer present in the file).
          -G | --force-grp name
          --force-group    name - force using a select group name, even if one
                                  is autodetected (see also -g).

+ 2 - 2
doc/timers.txt

@@ -106,8 +106,8 @@ The timer handler can be periodic, one shot or it can change from call to call.
 -------------
 
 The timer becomes active after you add it with timer_add. timer_add takes as parameters a pointer to the corresponding timer_ln structure and an expire interval (in ticks, use the macros from timer_ticks.h to convert from s/ms).
-The timer must be intialized (with timer_init()) before adding it the first time.
-timer_add returns 0 on success and -1 on error (timer already active or timer not intialized).
+The timer must be initialized (with timer_init()) before adding it the first time.
+timer_add returns 0 on success and -1 on error (timer already active or timer not initialized).
 If you want to re-add a deleted timer (timer_del was called on it) or an expired one shot timer (the timer handlers returned 0 on the last run), you have to re-init it first, either by calling timer_reinit(t) or by calling again timer_init(...). If you don't re-initialize the timer, timer_add will refuse to add it and it will return -1. So if timer_add returns error (-1) it means that either you're trying to re-add a running timer or a deleted/expired timer that was not re-initialized.
 WARNING: do not initialize/re-initialize a running timer!