From c0d0491ee357a2d4fad1394b920fec9912cc811e Mon Sep 17 00:00:00 2001 From: Lev Walkin Date: Fri, 25 Feb 2005 12:52:27 +0000 Subject: commonizing --- asn1c/unber.c | 24 ++++++------------------ 1 file changed, 6 insertions(+), 18 deletions(-) (limited to 'asn1c/unber.c') diff --git a/asn1c/unber.c b/asn1c/unber.c index a2280f31..ec3440fa 100644 --- a/asn1c/unber.c +++ b/asn1c/unber.c @@ -1,6 +1,5 @@ /*- - * Copyright (c) 2004 Lev Walkin - * All rights reserved. + * Copyright (c) 2004 Lev Walkin . All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions @@ -25,18 +24,7 @@ * * $Id$ */ -#include -#include -#include -#include -#include -#include /* for EX_USAGE */ -#include -#include - -#ifdef HAVE_CONFIG_H -#include "config.h" -#endif +#include "sys-common.h" #include /* For static string tables */ @@ -48,14 +36,14 @@ #include #include +#undef COPYRIGHT +#define COPYRIGHT \ + "Copyright (c) 2004 Lev Walkin \n" + static void usage(const char *av0); /* Print the Usage screen and exit */ static int process(const char *fname); /* Perform the BER decoding */ static int decode_tlv_from_string(const char *datastring); -#undef COPYRIGHT -#define COPYRIGHT \ - "Copyright (c) 2004 Lev Walkin \n" - static int single_type_decoding = 0; /* -1 enables that */ static int pretty_printing = 1; /* -p disables that */ static char *indent_buffer = " "; /* -i controls that */ -- cgit v1.2.3