Fix common misspellings and typos
Change-Id: I8152acaccd33a4b646d56cba0748aeefa0c16b35
diff --git a/include/osmocom/rspro/INTEGER.h b/include/osmocom/rspro/INTEGER.h
index e8b36c7..c8edf12 100644
--- a/include/osmocom/rspro/INTEGER.h
+++ b/include/osmocom/rspro/INTEGER.h
@@ -68,8 +68,8 @@
ASN_STRTOL_ERROR_RANGE = -3, /* Input outside of numeric range for long type */
ASN_STRTOL_ERROR_INVAL = -2, /* Invalid data encountered (e.g., "+-") */
ASN_STRTOL_EXPECT_MORE = -1, /* More data expected (e.g. "+") */
- ASN_STRTOL_OK = 0, /* Conversion succeded, number ends at (*end) */
- ASN_STRTOL_EXTRA_DATA = 1, /* Conversion succeded, but the string has extra stuff */
+ ASN_STRTOL_OK = 0, /* Conversion succeeded, number ends at (*end) */
+ ASN_STRTOL_EXTRA_DATA = 1, /* Conversion succeeded, but the string has extra stuff */
};
enum asn_strtol_result_e asn_strtol_lim(const char *str, const char **end, long *l);
diff --git a/include/osmocom/rspro/constr_TYPE.h b/include/osmocom/rspro/constr_TYPE.h
index 13c60f3..e244d20 100644
--- a/include/osmocom/rspro/constr_TYPE.h
+++ b/include/osmocom/rspro/constr_TYPE.h
@@ -158,8 +158,8 @@
typedef struct asn_TYPE_tag2member_s {
ber_tlv_tag_t el_tag; /* Outmost tag of the member */
int el_no; /* Index of the associated member, base 0 */
- int toff_first; /* First occurence of the el_tag, relative */
- int toff_last; /* Last occurence of the el_tag, relatvie */
+ int toff_first; /* First occurrence of the el_tag, relative */
+ int toff_last; /* Last occurrence of the el_tag, relatvie */
} asn_TYPE_tag2member_t;
/*
diff --git a/include/osmocom/rspro/per_support.h b/include/osmocom/rspro/per_support.h
index 181fe24..ed945ce 100644
--- a/include/osmocom/rspro/per_support.h
+++ b/include/osmocom/rspro/per_support.h
@@ -53,7 +53,7 @@
*/
int32_t per_get_few_bits(asn_per_data_t *per_data, int get_nbits);
-/* Undo the immediately preceeding "get_few_bits" operation */
+/* Undo the immediately preceding "get_few_bits" operation */
void per_get_undo(asn_per_data_t *per_data, int get_nbits);
/*