]> diplodocus.org Git - nmh/blobdiff - h/fmt_scan.h
new.c: Order two return statements to match comment.
[nmh] / h / fmt_scan.h
index 8c1d3fe3e566cf2b444a57b792ad4da0991bbf0e..2574c5798662be55d1dcfda32dc7dfe19caa7f6d 100644 (file)
@@ -116,7 +116,7 @@ char *new_fs (char *form, char *format, char *default_fs);
  * Free memory allocated by new_fs().  It allocates to a static so
  * no argument is necessary.
  */
  * Free memory allocated by new_fs().  It allocates to a static so
  * no argument is necessary.
  */
-void free_fs ();
+void free_fs(void);
 
 /*
  * Compile a format string into a set of format instructions.  Arguments are:
 
 /*
  * Compile a format string into a set of format instructions.  Arguments are:
@@ -148,7 +148,7 @@ int fmt_compile (char *fstring, struct format **fmt, int reset);
  *               format instructions.  Is always terminated with a
  *               newline (\n).
  * width       - Maximum number of displayed characters.  Does not include
  *               format instructions.  Is always terminated with a
  *               newline (\n).
  * width       - Maximum number of displayed characters.  Does not include
- *               characters marked as nonprinting or (depending on the
+ *               characters marked as non-printing or (depending on the
  *               encoding) bytes in a multibyte encoding that exceed the
  *               character's column width.
  * dat         - An integer array that contains data used by certain format
  *               encoding) bytes in a multibyte encoding that exceed the
  *               character's column width.
  * dat         - An integer array that contains data used by certain format
@@ -205,7 +205,7 @@ void fmt_freecomptext(void);
  * or NULL if the component is not found in the hash table.
  */
 
  * or NULL if the component is not found in the hash table.
  */
 
-struct comp *fmt_findcomp(char *component);
+struct comp *fmt_findcomp(char *component) PURE;
 
 /*
  * Search for a component structure in the component hash table.
 
 /*
  * Search for a component structure in the component hash table.
@@ -213,7 +213,7 @@ struct comp *fmt_findcomp(char *component);
  * Identical to fmd_findcomp(), but is case-INSENSITIVE.
  */
 
  * Identical to fmd_findcomp(), but is case-INSENSITIVE.
  */
 
-struct comp *fmt_findcasecomp(char *component);
+struct comp *fmt_findcasecomp(char *component) PURE;
 
 /*
  * Add a component entry to the component hash table
 
 /*
  * Add a component entry to the component hash table