Ignore:
Timestamp:
Jul 13, 2017, 9:01:05 AM (22 months ago)
Author:
Juanma
Message:

Initial release

File:
1 edited

Legend:

Unmodified
Added
Removed
  • squid-ssl/trunk/fuentes/libltdl/libltdl/slist.h

    r5495 r5496  
    11/* slist.h -- generalised singly linked lists
    22
    3    Copyright (C) 2000, 2004, 2009, 2011-2015 Free Software Foundation,
    4    Inc.
     3   Copyright (C) 2000, 2004, 2009 Free Software Foundation, Inc.
    54   Written by Gary V. Vaughan, 2000
    65
     
    3231/* A generalised list.  This is deliberately transparent so that you
    3332   can make the NEXT field of all your chained data structures first,
    34    and then cast them to '(SList *)' so that they can be manipulated
     33   and then cast them to `(SList *)' so that they can be manipulated
    3534   by this API.
    3635
     
    4039*/
    4140
    42 #if !defined SLIST_H
     41#if !defined(SLIST_H)
    4342#define SLIST_H 1
    4443
    45 #if defined LTDL
     44#if defined(LTDL)
    4645#  include <libltdl/lt__glibc.h>
    4746#  include <libltdl/lt_system.h>
     
    5251#include <stddef.h>
    5352
    54 #if defined __cplusplus
     53#if defined(__cplusplus)
    5554extern "C" {
    5655#endif
     
    5857typedef struct slist {
    5958  struct slist *next;           /* chain forward pointer*/
    60   const void *userdata;         /* for boxed 'SList' item */
     59  const void *userdata;         /* for boxed `SList' item */
    6160} SList;
    6261
     
    8786LT_SCOPE void * slist_unbox     (SList *item);
    8887
    89 #if defined __cplusplus
     88#if defined(__cplusplus)
    9089}
    9190#endif
    9291
    93 #if !defined LTDL
     92#if !defined(LTDL)
    9493#  undef LT_SCOPE
    9594#endif
    9695
    97 #endif /*!defined SLIST_H*/
     96#endif /*!defined(SLIST_H)*/
Note: See TracChangeset for help on using the changeset viewer.