From c0d0491ee357a2d4fad1394b920fec9912cc811e Mon Sep 17 00:00:00 2001 From: Lev Walkin Date: Fri, 25 Feb 2005 12:52:27 +0000 Subject: commonizing --- asn1c/asn1c.c | 22 +++++++--------------- 1 file changed, 7 insertions(+), 15 deletions(-) (limited to 'asn1c/asn1c.c') diff --git a/asn1c/asn1c.c b/asn1c/asn1c.c index 6c20893e..36916a16 100644 --- a/asn1c/asn1c.c +++ b/asn1c/asn1c.c @@ -1,6 +1,6 @@ /*- - * Copyright (c) 2003, 2004 Lev Walkin - * All rights reserved. + * Copyright (c) 2003, 2004, 2005 + * Lev Walkin . All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions @@ -29,15 +29,7 @@ * This is the program that connects the libasn1* libraries together. * It uses them in turn to parse, fix and then compile or print the ASN.1 tree. */ -#include -#include -#include -#include -#include /* for stat(2) */ -#include -#include /* for EX_USAGE */ -#include -#include +#include "sys-common.h" #include /* Parse the ASN.1 file and build a tree */ #include /* Fix the ASN.1 tree */ @@ -46,11 +38,11 @@ #include /* Portable basename(3) and dirname(3) */ -static void usage(const char *av0); /* Print the Usage screen and exit */ +#undef COPYRIGHT +#define COPYRIGHT \ + "Copyright (c) 2003, 2004, 2005 Lev Walkin \n" -#undef COPYRIGHT -#define COPYRIGHT \ - "Copyright (c) 2003, 2004 Lev Walkin \n" +static void usage(const char *av0); /* Print the Usage screen and exit */ int main(int ac, char **av) { -- cgit v1.2.3