Skip to content

Commit e202cd5

Browse files
committed
getzones: normalise formatting
1 parent 200f399 commit e202cd5

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

bin/getzones/getzones.c

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -23,23 +23,23 @@
2323

2424
static void print_zones(short n, char *buf);
2525

26-
static void usage(char *s)
26+
static void usage(char *s)
2727
{
2828
fprintf(stderr, "usage:\t%s [-m | -l] [address]\n", s);
2929
exit(1);
3030
}
3131

32-
int main(int argc, char *argv[])
32+
int main(int argc, char *argv[])
3333
{
34-
struct atp_handle *ah;
35-
struct atp_block atpb;
36-
struct sockaddr_at saddr;
37-
struct servent *se;
38-
char reqdata[4], buf[ATP_MAXDATA];
39-
struct iovec iov;
40-
short temp, index = 0;
41-
int c, myzoneflg = 0, localzonesflg = 0, errflg = 0;
42-
extern int optind;
34+
struct atp_handle *ah;
35+
struct atp_block atpb;
36+
struct sockaddr_at saddr;
37+
struct servent *se;
38+
char reqdata[4], buf[ATP_MAXDATA];
39+
struct iovec iov;
40+
short temp, index = 0;
41+
int c, myzoneflg = 0, localzonesflg = 0, errflg = 0;
42+
extern int optind;
4343
reqdata[0] = ZIPOP_GETZONELIST;
4444

4545
while ((c = getopt(argc, argv, "ml")) != EOF) {
@@ -149,7 +149,7 @@ int main(int argc, char *argv[])
149149
* n: number of zones in this packet
150150
* buf: zone length/name pairs
151151
*/
152-
static void print_zones(short n, char *buf)
152+
static void print_zones(short n, char *buf)
153153
{
154154
size_t zone_len;
155155
char *zone;

0 commit comments

Comments
 (0)