rt: Fix comments in <aliases.h>
Commit Message
Hello
Removed the space in "data base" as it's always written as "database".
ChangeLog:
2020-10-06 Jonny Grant <jg@jguk.org>
* aliases.h: Fix comments.
Comments
* Jonny Grant:
> --- aliases.h.orig 2020-10-06 21:33:51.461055723 +0100
> +++ aliases.h 2020-10-06 21:34:38.529434711 +0100
> @@ -22,10 +22,9 @@
>
> #include <sys/types.h>
>
> -
> __BEGIN_DECLS
>
> -/* Structure to represent one entry of the alias data base. */
> +/* Structure to represent one entry of the alias database. */
> struct aliasent
> {
> char *alias_name;
> @@ -35,16 +34,16 @@
> };
>
>
> -/* Open alias data base files. */
> +/* Open alias database files. */
> extern void setaliasent (void) __THROW;
>
> -/* Close alias data base files. */
> +/* Close alias database files. */
> extern void endaliasent (void) __THROW;
>
> -/* Get the next entry from the alias data base. */
> +/* Get the next entry from the alias database. */
> extern struct aliasent *getaliasent (void) __THROW;
>
> -/* Get the next entry from the alias data base and put it in RESULT_BUF. */
> +/* Get the next entry from the alias database and put it in RESULT_BUF. */
> extern int getaliasent_r (struct aliasent *__restrict __result_buf,
> char *__restrict __buffer, size_t __buflen,
> struct aliasent **__restrict __result) __THROW;
Please send patches with the full path, so that they can be applied
using “git am”.
“rt” should refer to the subsystem (probably “inet” in this case).
Thanks,
Florian
@@ -22,10 +22,9 @@
#include <sys/types.h>
-
__BEGIN_DECLS
-/* Structure to represent one entry of the alias data base. */
+/* Structure to represent one entry of the alias database. */
struct aliasent
{
char *alias_name;
@@ -35,16 +34,16 @@
};
-/* Open alias data base files. */
+/* Open alias database files. */
extern void setaliasent (void) __THROW;
-/* Close alias data base files. */
+/* Close alias database files. */
extern void endaliasent (void) __THROW;
-/* Get the next entry from the alias data base. */
+/* Get the next entry from the alias database. */
extern struct aliasent *getaliasent (void) __THROW;
-/* Get the next entry from the alias data base and put it in RESULT_BUF. */
+/* Get the next entry from the alias database and put it in RESULT_BUF. */
extern int getaliasent_r (struct aliasent *__restrict __result_buf,
char *__restrict __buffer, size_t __buflen,
struct aliasent **__restrict __result) __THROW;