diff mbox series

rt: Fix comments in <aliases.h>

Message ID 4252d593-88df-d608-fbe9-fb7611aa5993@jguk.org
State Superseded
Delegated to: Arjun Shankar
Headers show
Series rt: Fix comments in <aliases.h> | expand

Commit Message

Jonny Grant Oct. 6, 2020, 8:37 p.m. UTC
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

Florian Weimer Oct. 19, 2020, 8:50 a.m. UTC | #1
* 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
diff mbox series

Patch

--- 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;