KNF & renaming

This commit is contained in:
Job Snijders
2021-08-19 20:21:25 +00:00
parent 5ce7d7bfea
commit 80b7dcf4de
3 changed files with 75 additions and 75 deletions

View File

@@ -31,15 +31,15 @@
#include "extern.h"
struct sx_slentry *
struct slentry *
sx_slentry_new(char *t)
{
struct sx_slentry *e = malloc(sizeof(struct sx_slentry));
struct slentry *e = malloc(sizeof(struct slentry));
if (!e)
return NULL;
memset(e, 0, sizeof(struct sx_slentry));
memset(e, 0, sizeof(struct slentry));
e->text = strdup(t);