1
0
mirror of https://github.com/bgp/bgpq4.git synced 2024-05-11 05:55:05 +00:00

Style fixes

This commit is contained in:
Job Snijders
2021-08-17 22:33:04 +00:00
parent b21c8b30ca
commit 24daa48a67

View File

@ -30,10 +30,10 @@
#include "sx_slentry.h" #include "sx_slentry.h"
struct sx_slentry* struct sx_slentry *
sx_slentry_new(char* t) sx_slentry_new(char *t)
{ {
struct sx_slentry* e = malloc(sizeof(struct sx_slentry)); struct sx_slentry *e = malloc(sizeof(struct sx_slentry));
if (!e) if (!e)
return NULL; return NULL;
@ -46,10 +46,10 @@ sx_slentry_new(char* t)
return e; return e;
} }
struct sx_tentry* struct sx_tentry *
sx_tentry_new(char* t) sx_tentry_new(char *t)
{ {
struct sx_tentry* te = malloc(sizeof(struct sx_tentry)); struct sx_tentry *te = malloc(sizeof(struct sx_tentry));
if (!te) if (!te)
return NULL; return NULL;