X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;f=zilasm%2Fdirectives.h;h=5988c0a6ae2ffdba5d7d9ba3375fbf8a5df5db18;hb=82b0f84ab797141758929d16894d42e12ef79af7;hp=fc889d17ed3b1770aadf7f9ceacf4e3ed2eb38f8;hpb=fd453701e368225dd15e9df2e5b1752aebe454e8;p=zilutils.git diff --git a/zilasm/directives.h b/zilasm/directives.h index fc889d1..5988c0a 100644 --- a/zilasm/directives.h +++ b/zilasm/directives.h @@ -15,18 +15,21 @@ * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see + * + * SPDX-License-Identifier: AGPL-3.0-or-later */ #ifndef ZILASM_DIRECTIVES #define ZILASM_DIRECTIVES 1 -typedef int (*Directive_handler)(const char *directive_args); +typedef int (*Directive_handler) (const char *directive_args); -typedef struct { - const char name[16]; - Directive_handler handler; +typedef struct +{ + const char name[16]; + Directive_handler handler; } Directive; -Directive_handler directive_lookup(const char *name, unsigned namelen); +Directive_handler directive_lookup (const char *name, unsigned namelen); #endif /* ifndef ZILASM_DIRECTIVES */