Perform more C warning fixup on all C source files and headers.
This commit is contained in:
@ -114,17 +114,16 @@
|
||||
#include <sys/stat.h>
|
||||
#include <errno.h>
|
||||
#include <signal.h>
|
||||
#include <unistd.h>
|
||||
#include <string.h>
|
||||
#include "test.h"
|
||||
#include "usctest.h"
|
||||
|
||||
void setup();
|
||||
void cleanup();
|
||||
void cleanup(void) __attribute__((noreturn));
|
||||
|
||||
|
||||
|
||||
char *TCID="unlink08"; /* Test program identifier. */
|
||||
const char *TCID="unlink08"; /* Test program identifier. */
|
||||
int TST_TOTAL=3; /* Total number of test cases. */
|
||||
extern int Tst_count; /* Test Case counter for tst_* routines */
|
||||
|
||||
@ -136,8 +135,8 @@ int dir_setup();
|
||||
int no_setup();
|
||||
|
||||
struct test_case_t {
|
||||
char *pathname;
|
||||
char *desc;
|
||||
const char *pathname;
|
||||
const char *desc;
|
||||
int (*setupfunc)();
|
||||
int exp_ret; /* -1 means error, 0 means != -1 */
|
||||
int exp_errno;
|
||||
@ -163,8 +162,8 @@ main(int ac, char **av)
|
||||
{
|
||||
int lc; /* loop counter */
|
||||
const char *msg; /* message returned from parse_opts */
|
||||
char *fname;
|
||||
char *desc;
|
||||
const char *fname;
|
||||
const char *desc;
|
||||
int ind;
|
||||
|
||||
/***************************************************************
|
||||
|
Reference in New Issue
Block a user