Message ID | 4252d593-88df-d608-fbe9-fb7611aa5993@jguk.org |
---|---|
State | New |
Headers | show |
Series | rt: Fix comments in <aliases.h> | expand |
* 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
--- 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;