diff options
author | Bruce Momjian <bruce@momjian.us> | 1997-08-19 21:40:56 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 1997-08-19 21:40:56 +0000 |
commit | 1d8bbfd2e7cfb72cbe4d5c5d4fa650a28dedac0b (patch) | |
tree | 8d3a5dac9207f22c3afb8afb563d54f88774deb3 /src/include/lib | |
parent | b992e200b8872ecb6652ec85111995f8d4c5aee0 (diff) |
Make functions static where possible, enclose unused functions in #ifdef NOT_USED.
Diffstat (limited to 'src/include/lib')
-rw-r--r-- | src/include/lib/dllist.h | 6 | ||||
-rw-r--r-- | src/include/lib/lispsort.h | 4 |
2 files changed, 3 insertions, 7 deletions
diff --git a/src/include/lib/dllist.h b/src/include/lib/dllist.h index 8e18470f878..4c4534b974c 100644 --- a/src/include/lib/dllist.h +++ b/src/include/lib/dllist.h @@ -26,7 +26,7 @@ * * Copyright (c) 1994, Regents of the University of California * - * $Id: dllist.h,v 1.3 1996/11/10 03:05:16 momjian Exp $ + * $Id: dllist.h,v 1.4 1997/08/19 21:38:28 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -56,15 +56,13 @@ extern Dlelem* DLNewElem(void* val); extern void DLFreeElem(Dlelem*); extern Dlelem* DLGetHead(Dllist*); extern Dlelem* DLGetTail(Dllist*); -extern void* DLGetHeadVal(Dllist*); -extern void* DLGetTailVal(Dllist*); +extern Dlelem* DLRemTail(Dllist* l); extern Dlelem* DLGetPred(Dlelem*); /* get predecessor */ extern Dlelem* DLGetSucc(Dlelem*); /* get successor */ extern void DLRemove(Dlelem*); /* removes node from list*/ extern void DLAddHead(Dllist* list, Dlelem* node); extern void DLAddTail(Dllist* list, Dlelem* node); extern Dlelem* DLRemHead(Dllist* list); /* remove and return the head */ -extern Dlelem* DLRemTail(Dllist* list); /* remove and return the tail */ #define DLE_VAL(x) (x->dle_val) diff --git a/src/include/lib/lispsort.h b/src/include/lib/lispsort.h index 3d13de381bb..872b14959a3 100644 --- a/src/include/lib/lispsort.h +++ b/src/include/lib/lispsort.h @@ -6,13 +6,11 @@ * * Copyright (c) 1994, Regents of the University of California * - * $Id: lispsort.h,v 1.1 1996/08/28 07:22:39 scrappy Exp $ + * $Id: lispsort.h,v 1.2 1997/08/19 21:38:30 momjian Exp $ * *------------------------------------------------------------------------- */ #ifndef LISPSORT_H #define LISPSORT_H -extern List *lisp_qsort(List *the_list, int (*compare)()); - #endif /* LISPSORT_H */ |