Megacommit of many files.

Mostly, several functions that take pointers as arguments, almost
always char * pointers, had those pointers qualified with "const".
Those that returned pointers to previously const-qualified arguments
had their return values qualified as const.  Some structure members
were qualified as const to retain that attribute from the variables
from which they were assigned.

Minor other ISC style cleanups.
This commit is contained in:
David Lawrence
2000-06-01 19:14:59 +00:00
parent 50bd180f4b
commit b8f0fedbe7
2 changed files with 40 additions and 30 deletions

View File

@@ -53,8 +53,8 @@
typedef void (*PFV)(void);
typedef struct {
PFV pfv;
char *func_name;
PFV pfv;
const char *func_name;
} testspec_t;
extern int T_debug;
@@ -78,14 +78,14 @@ t_fgetbs(FILE *fp);
isc_result_t
t_dns_result_fromtext(char *result);
int
unsigned int
t_dc_method_fromtext(char *dc_method);
int
t_bustline(char *line, char **toks);
int
t_eval(char *filename, int (*func)(char **), int nargs);
t_eval(const char *filename, int (*func)(char **), int nargs);
#endif /* TESTS_T_API_H */