X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=odr%2Fber_int.c;h=49ef26402b1ed82afba5c768a51861978056f3d2;hp=88b647f9170e01101df038c13ca0b621e34d1359;hb=63cafe41a93427118959a74201b3e331169a71d9;hpb=9c459af695605b44a044ad206562818be10034f1 diff --git a/odr/ber_int.c b/odr/ber_int.c index 88b647f..49ef264 100644 --- a/odr/ber_int.c +++ b/odr/ber_int.c @@ -4,7 +4,10 @@ * Sebastian Hammer, Adam Dickmeiss * * $Log: ber_int.c,v $ - * Revision 1.10 1995-09-29 17:01:50 quinn + * Revision 1.11 1995-09-29 17:12:16 quinn + * Smallish + * + * Revision 1.10 1995/09/29 17:01:50 quinn * More Windows work * * Revision 1.9 1995/09/28 10:12:39 quinn @@ -51,10 +54,10 @@ #include #include -static int MDF ber_encinteger(ODR o, int val); -static int MDF ber_decinteger(unsigned char *buf, int *val); +static int ber_encinteger(ODR o, int val); +static int ber_decinteger(unsigned char *buf, int *val); -int MDF ber_integer(ODR o, int *val) +int ber_integer(ODR o, int *val) { int res; @@ -81,7 +84,7 @@ int MDF ber_integer(ODR o, int *val) /* * Returns: number of bytes written or -1 for error (out of bounds). */ -int MDF ber_encinteger(ODR o, int val) +int ber_encinteger(ODR o, int val) { int lenpos; int a, len; @@ -111,7 +114,7 @@ int MDF ber_encinteger(ODR o, int val) /* * Returns: Number of bytes read or 0 if no match, -1 if error. */ -int MDF ber_decinteger(unsigned char *buf, int *val) +int ber_decinteger(unsigned char *buf, int *val) { unsigned char *b = buf, fill; int res, len, remains;