Commit | Line | Data |
---|---|---|
9e8e5516 C |
1 | /* rygenid.c - ROSY: generate unique invoke ID */ |
2 | ||
3 | #ifndef lint | |
4 | static char *rcsid = "$Header: /f/osi/rosy/RCS/rygenid.c,v 7.1 91/02/22 09:42:01 mrose Interim $"; | |
5 | #endif | |
6 | ||
7 | /* | |
8 | * $Header: /f/osi/rosy/RCS/rygenid.c,v 7.1 91/02/22 09:42:01 mrose Interim $ | |
9 | * | |
10 | * | |
11 | * $Log: rygenid.c,v $ | |
12 | * Revision 7.1 91/02/22 09:42:01 mrose | |
13 | * Interim 6.8 | |
14 | * | |
15 | * Revision 6.0 89/03/18 23:42:53 mrose | |
16 | * Release 5.0 | |
17 | * | |
18 | */ | |
19 | ||
20 | /* | |
21 | * NOTICE | |
22 | * | |
23 | * Acquisition, use, and distribution of this module and related | |
24 | * materials are subject to the restrictions of a license agreement. | |
25 | * Consult the Preface in the User's Manual for the full terms of | |
26 | * this agreement. | |
27 | * | |
28 | */ | |
29 | ||
30 | ||
31 | /* LINTLIBRARY */ | |
32 | ||
33 | #include <stdio.h> | |
34 | #include "rosy.h" | |
35 | ||
36 | /* \f generate unique invoke ID */ | |
37 | ||
38 | /* ARGSUSED */ | |
39 | ||
40 | int RyGenID (sd) | |
41 | int sd; | |
42 | { | |
43 | static int id = 0; | |
44 | ||
45 | return (++id); | |
46 | } |